Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Jun 5, 2024
1 parent 133490b commit 69d4327
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ jobs:
with:
python-version: '3.10'

- name: Set MacOS Deployment Target
if: startsWith(matrix.os, 'macos-13')
run: |
echo "export MACOSX_DEPLOYMENT_TARGET=10.13" >> $GITHUB_ENV
- name: Set MacOS Deployment Target
if: startsWith(matrix.os, 'macos-14')
run: |
echo "export MACOSX_DEPLOYMENT_TARGET=10.14" >> $GITHUB_ENV
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.18.1

Expand All @@ -42,7 +52,6 @@ jobs:
#CIBW_TEST_REQUIRES: scipy sympy
#CIBW_TEST_COMMAND: python -m unittest camb.tests.camb_test
CIBW_BUILD_VERBOSITY: 2
MACOSX_DEPLOYMENT_TARGET: ${{ if startsWith(matrix.os, 'macos-13') }}10.13${{ else }}${{ 10.14 }}{{ endif }}

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 69d4327

Please sign in to comment.