Skip to content

Commit 47488c9

Browse files
committed
ci: Test building of macOS arm64 wheels in CI workflow
1 parent 4e8d25d commit 47488c9

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,33 @@ jobs:
6565
uses: codecov/codecov-action@v4.1.0
6666
with:
6767
token: ${{ secrets.CODECOV_TOKEN }}
68+
69+
checks-cibw:
70+
name: >
71+
Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }} (${{
72+
matrix.arch }})
73+
runs-on: ${{ matrix.runs-on }}
74+
needs: [pre-commit]
75+
strategy:
76+
fail-fast: false
77+
matrix:
78+
include:
79+
- runs-on: macos-14
80+
python-version: cp39
81+
arch: "arm64"
82+
- runs-on: macos-14
83+
python-version: cp310
84+
arch: "arm64"
85+
- runs-on: macos-14
86+
python-version: cp311
87+
arch: "arm64"
88+
89+
steps:
90+
- uses: actions/checkout@v4
91+
with:
92+
fetch-depth: 0
93+
94+
- uses: pypa/cibuildwheel@v2.17
95+
env:
96+
CIBW_BUILD: "${{ matrix.python-version }}-*"
97+
CIBW_ARCHS: "${{ matrix.arch }}"

0 commit comments

Comments
 (0)