Skip to content

Commit 9289239

Browse files
committed
ci: Update CI workflow to exercise cibuildwheel for all platforms
1 parent f6e0c26 commit 9289239

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
matrix:
4343
python-version: ["3.10", "3.11", "3.12", "3.13"]
4444
runs-on: [ubuntu-latest, macos-latest, windows-latest]
45+
include:
46+
- os: macos-14
47+
arch: "arm64"
4548

4649
steps:
4750
- uses: actions/checkout@v5
@@ -80,25 +83,17 @@ jobs:
8083

8184
checks-cibw:
8285
name: >
83-
Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }} (${{
84-
matrix.arch }})
86+
Check Python Wheel on ${{ matrix.runs-on }} (${{matrix.arch }})
8587
runs-on: ${{ matrix.runs-on }}
8688
needs: [pre-commit]
8789
strategy:
8890
fail-fast: false
8991
matrix:
92+
runs-on: [ubuntu-latest, windows-latest, macos-15-intel]
93+
arch: ["auto"]
94+
9095
include:
9196
- runs-on: macos-14
92-
python-version: cp310
93-
arch: "arm64"
94-
- runs-on: macos-14
95-
python-version: cp311
96-
arch: "arm64"
97-
- runs-on: macos-14
98-
python-version: cp312
99-
arch: "arm64"
100-
- runs-on: macos-14
101-
python-version: cp313
10297
arch: "arm64"
10398

10499
steps:
@@ -108,6 +103,6 @@ jobs:
108103

109104
- uses: pypa/[email protected]
110105
env:
111-
CIBW_BUILD: "${{ matrix.python-version }}-*"
106+
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
112107
CIBW_ARCHS: "${{ matrix.arch }}"
113108
CIBW_REPAIR_WHEEL_COMMAND: ""

0 commit comments

Comments
 (0)