Skip to content

Commit

Permalink
Adds macos-14 to cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
holm10 committed Mar 12, 2024
1 parent 5a38f75 commit 4776604
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/build-test-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13] #, macos-12, ubuntu-20.04]
os: [ubuntu-latest, macos-13, macos-14] #, macos-12, ubuntu-20.04]
# pyversions: ['3.11'] #, '3.10', '3.9', '3.8', '3.7',]

steps:
Expand All @@ -66,19 +66,30 @@ jobs:
# python -m pip install pytest-isolate pytest-xdist
# pip install 'build<0.10.0'

- name: Symlink gfortran for macOS
if: runner.os == 'macOS'
- name: Symlink gfortran for x86 macOS
if: matrix.os == 'maxos-13'
run: |
# make sure gfortran is available
ln -s /usr/local/bin/gfortran-13 /usr/local/bin/gfortran
gfortran --version
- name: Symlink gfortran for ARM macOS
run: |
if: matrix.os == 'maxos-14'
# make sure gfortran is available
ln -s /opt/homebrew/bin/gfortran-13 /opt/homebrew/bin/gfortran
gfortran --version
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BEFORE_BUILD: pip install numpy forthon 'build<0.10.0'

- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

# - name: Build wheels
# run: python -m build
Expand Down Expand Up @@ -174,7 +185,7 @@ jobs:


gather_wheels:
needs: [build_wheels, build_arm_wheels]
needs: [build_wheels]
name: Gathers built wheels
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 4776604

Please sign in to comment.