Skip to content

Commit 804f46d

Browse files
committed
Fix macosx deployment target
1 parent 4c84fbb commit 804f46d

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
pip install -r {project}/requirements-only-tests-min-locked.txt
2929
CIBW_TEST_COMMAND: >-
3030
pytest {project}/tests
31-
MACOSX_DEPLOYMENT_TARGET: "13.0"
3231
strategy:
3332
fail-fast: false
3433
matrix:
@@ -57,6 +56,14 @@ jobs:
5756
# TODO: figure out whether we need/want to use other compilers too
5857
compiler: "gcc"
5958
version: "13"
59+
- name: Set deployment target - MacOS 13.0
60+
if: ${{ matrix.os == 'macos-13' }}
61+
run: |
62+
echo "MACOSX_DEPLOYMENT_TARGET=13.0" >> $GITHUB_ENV
63+
- name: Set deployment target - MacOS 14.0
64+
if: ${{ matrix.os == 'macos-14' }}
65+
run: |
66+
echo "MACOSX_DEPLOYMENT_TARGET=14.0" >> $GITHUB_ENV
6067
- name: Specify LLVM - windows-arm
6168
if: ${{ matrix.os == 'windows-11-arm' }}
6269
shell: pwsh

0 commit comments

Comments
 (0)