Skip to content

Commit

Permalink
chore: build macOS arm64 wheels on macos-14
Browse files Browse the repository at this point in the history
macos-14 runners are running on arm64 processors.
This allows to test macOS arm64 wheels.

Signed-off-by: mayeut <[email protected]>
  • Loading branch information
mayeut committed Mar 12, 2024
1 parent 004146a commit de28b83
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
jobs:
# Linux + macOS + Windows Python 3
py3:
name: py3-${{ matrix.os }}-${{ startsWith(matrix.os, 'windows') && matrix.archs || 'all' }}
name: py3-${{ matrix.os }}-${{ startsWith(matrix.os, 'ubuntu') && 'all' || matrix.archs }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
Expand All @@ -28,7 +28,9 @@ jobs:
- os: ubuntu-latest
archs: "x86_64 i686"
- os: macos-12
archs: "x86_64 arm64"
archs: "x86_64"
- os: macos-14
archs: "arm64"
- os: windows-2019
archs: "AMD64"
- os: windows-2019
Expand All @@ -40,7 +42,7 @@ jobs:
python-version: 3.11

- name: Create wheels + run tests
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.17.0
env:
CIBW_ARCHS: "${{ matrix.archs }}"
CIBW_PRERELEASE_PYTHONS: True
Expand Down

0 comments on commit de28b83

Please sign in to comment.