Restored MACOSX_DEPLOYMENT_TARGET on x86_64

This commit is contained in:
Andrew Murray 2023-11-16 09:22:23 +11:00
parent 3b1e46ef66
commit e013ad9621
2 changed files with 3 additions and 4 deletions

View File

@ -144,10 +144,6 @@ if [[ -n "$IS_MACOS" ]]; then
brew remove --ignore-dependencies webp zstd xz libpng libtiff libxcb libxdmcp curl php cairo lcms2 ghostscript
brew install pkg-config
if [[ "$CIBW_ARCHS" != "arm64" ]]; then
export MACOSX_DEPLOYMENT_TARGET="10.10"
fi
fi
wrap_wheel_builder build

View File

@ -34,9 +34,11 @@ jobs:
- name: "macOS x86_64"
os: macos-latest
archs: x86_64
macosx_deployment_target: "10.10"
- name: "macOS arm64"
os: macos-latest
archs: arm64
macosx_deployment_target: "11.0"
- name: "manylinux2014 and musllinux x86_64"
os: ubuntu-latest
archs: x86_64
@ -61,6 +63,7 @@ jobs:
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: ${{ matrix.manylinux }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux }}
CIBW_TEST_SKIP: "*-macosx_arm64"
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macosx_deployment_target }}
- uses: actions/upload-artifact@v3
with: