Skip to content

Commit

Permalink
cibuildwheel: separate macOS intel and apple silicon runners
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiodsf committed May 21, 2024
1 parent d15051d commit 69ef24f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/github-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# macos-13 is an intel runner, macos-14 is apple silicon
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Fetch tags
run: |
Expand All @@ -22,8 +23,6 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS_MACOS: x86_64 arm64

- uses: actions/upload-artifact@v3
with:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ before-all = "apk add fftw-dev"

[tool.cibuildwheel.macos]
before-build = './get_fftw3.sh'
repair-wheel-command = ''

[tool.cibuildwheel.windows]
before-all = '%CONDA%\Scripts\conda.exe install fftw'
Expand Down

0 comments on commit 69ef24f

Please sign in to comment.