Skip to content

Commit

Permalink
wheels [pypi]
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 19, 2024
1 parent 92c969c commit e91205c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-12, macos-14, ubuntu-latest, windows-latest ]
os: [ macos-12, macos-13-xlarge, macos-14, ubuntu-latest, windows-latest ]

steps:
- uses: fortran-lang/setup-fortran@main
if: matrix.os == 'windows-latest'
id: setup-fortran
with:
compiler: gcc
version: 14
version: 13

- run: ln -s $(which gfortran-14) /usr/local/bin/gfortran
- run: ln -s $(which gfortran-12) /usr/local/bin/gfortran
if: matrix.os != 'windows-latest'

- run: gfortran --version
Expand All @@ -33,21 +33,21 @@ jobs:
- name: Install cibuildwheel
run: python -m pip install cibuildwheel

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

- name: Build macos-12 wheels
if: matrix.os == 'macos-12'
env:
# all cp3xx, since old macs seem to only use osx 12+ builds if this is set not "none"
# see consistency with get_tag() in setup.py
MACOSX_DEPLOYMENT_TARGET: 10.15
MACOSX_DEPLOYMENT_TARGET: 12
CIBW_BUILD: cp311-*
CIBW_SKIP: pp*
CIBW_BUILD_VERBOSITY: 1
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Build wheels
if: matrix.os == 'macos-14' || matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest'
env:
MACOSX_DEPLOYMENT_TARGET: 12
MACOSX_DEPLOYMENT_TARGET: 14
CIBW_BUILD: cp311-*
CIBW_SKIP: pp* *-win32 *-manylinux_i686 *musllinux*
CIBW_BUILD_VERBOSITY: 1
Expand Down

0 comments on commit e91205c

Please sign in to comment.