Skip to content

Commit

Permalink
remove macos-11
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Jul 24, 2024
1 parent 4d6b682 commit 11cd9b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-11, macos-12, macos-13, flyci-macos-large-latest-m2, macos-14, ubuntu-latest, windows-latest ]
os: [ macos-12, macos-13, flyci-macos-large-latest-m2, macos-14, ubuntu-latest, windows-latest ]

steps:
- uses: awvwgk/setup-fortran@main
Expand Down Expand Up @@ -44,19 +44,10 @@ jobs:

- name: Build macos-12 wheels
if: matrix.os == 'macos-12'
env:
MACOSX_DEPLOYMENT_TARGET: 12
CIBW_BUILD: cp311-*
CIBW_SKIP: pp*
CIBW_BUILD_VERBOSITY: 1
run: python -m cibuildwheel --output-dir wheelhouse

- name: Build macos-11 wheels
if: matrix.os == 'macos-11'
env:
# all cp3xx, since old macs seem to only use osx 11+ builds if this is set not "none"
# see consistency with get_tag() in setup.py
MACOSX_DEPLOYMENT_TARGET: 11
MACOSX_DEPLOYMENT_TARGET: 12
CIBW_SKIP: pp*
CIBW_BUILD_VERBOSITY: 1
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def finalize_options(self):

def get_tag(self):
_, _, plat = super().get_tag()
if "osx_11" in plat:
if "osx_12" in plat:
return _, _, plat
return "py3", "none", plat

Expand Down

0 comments on commit 11cd9b5

Please sign in to comment.