Skip to content

Commit

Permalink
Restored MACOSX_DEPLOYMENT_TARGET on x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 15, 2023
1 parent 3b1e46e commit e013ad9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/wheels-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit e013ad9

Please sign in to comment.