Skip to content

Commit

Permalink
Merge pull request matplotlib#28272 from QuLogic/drop-macos-11
Browse files Browse the repository at this point in the history
BLD: Move macos builders from 11 to 12
  • Loading branch information
timhoffm committed May 22, 2024
2 parents aa8ac60 + 6698b3b commit 31a2e1e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
CIBW_SKIP: "*-musllinux_aarch64"
CIBW_TEST_COMMAND: >-
python {package}/ci/check_version_number.py
MACOSX_DEPLOYMENT_TARGET: "10.12"
MPL_DISABLE_FH4: "yes"
strategy:
matrix:
Expand All @@ -115,16 +116,10 @@ jobs:
cibw_archs: "aarch64"
- os: windows-latest
cibw_archs: "auto64"
- os: macos-11
- os: macos-12
cibw_archs: "x86_64"
# NOTE: macos_target can be moved back into global environment after
# meson-python 0.16.0 is released.
macos_target: "10.12"
- os: macos-14
cibw_archs: "arm64"
# NOTE: macos_target can be moved back into global environment after
# meson-python 0.16.0 is released.
macos_target: "11.0"

steps:
- name: Set up QEMU
Expand All @@ -146,7 +141,6 @@ jobs:
env:
CIBW_BUILD: "cp312-*"
CIBW_ARCHS: ${{ matrix.cibw_archs }}
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_target }}"

- name: Build wheels for CPython 3.11
uses: pypa/cibuildwheel@711a3d017d0729f3edde18545fee967f03d65f65 # v2.18.0
Expand All @@ -155,7 +149,6 @@ jobs:
env:
CIBW_BUILD: "cp311-*"
CIBW_ARCHS: ${{ matrix.cibw_archs }}
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_target }}"

- name: Build wheels for CPython 3.10
uses: pypa/cibuildwheel@711a3d017d0729f3edde18545fee967f03d65f65 # v2.18.0
Expand All @@ -164,7 +157,6 @@ jobs:
env:
CIBW_BUILD: "cp310-*"
CIBW_ARCHS: ${{ matrix.cibw_archs }}
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_target }}"

- name: Build wheels for CPython 3.9
uses: pypa/cibuildwheel@711a3d017d0729f3edde18545fee967f03d65f65 # v2.18.0
Expand All @@ -173,7 +165,6 @@ jobs:
env:
CIBW_BUILD: "cp39-*"
CIBW_ARCHS: ${{ matrix.cibw_archs }}
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_target }}"

- name: Build wheels for PyPy
uses: pypa/cibuildwheel@711a3d017d0729f3edde18545fee967f03d65f65 # v2.18.0
Expand All @@ -182,7 +173,6 @@ jobs:
env:
CIBW_BUILD: "pp39-*"
CIBW_ARCHS: ${{ matrix.cibw_archs }}
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_target }}"
if: matrix.cibw_archs != 'aarch64'

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

0 comments on commit 31a2e1e

Please sign in to comment.