Skip to content

Commit 61a8192

Browse files
committed
Refactor PyPI workflow to enable all OS and architecture configurations in the build matrix
1 parent 28ac5a4 commit 61a8192

File tree

1 file changed

+13
-23
lines changed

1 file changed

+13
-23
lines changed

.github/workflows/pypi.yml

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,21 @@ jobs:
1818
name: Build wheels on ${{ matrix.name }} (${{ matrix.python-version }} ${{ matrix.arch }})
1919
runs-on: ${{ matrix.os }}
2020
strategy:
21-
fail-fast: false
21+
fail-fast: true
2222
matrix:
23-
os:
24-
# - ubuntu-latest
25-
- macos-latest
26-
# - windows-latest
27-
python-version:
28-
# - cp39
29-
# - cp310
30-
# - cp311
31-
- cp312
32-
- cp313
33-
arch:
34-
# - x86_64
35-
- arm64
36-
# exclude:
37-
# - os: ubuntu-latest
38-
# arch: arm64
39-
# - os: windows-latest
40-
# arch: arm64
23+
os: [ubuntu-latest, macos-latest, windows-latest]
24+
python-version: [cp39, cp310, cp311, cp312, cp313]
25+
arch: [x86_64, arm64]
26+
exclude:
27+
- os: ubuntu-latest
28+
arch: arm64
29+
- os: windows-latest
30+
arch: arm64
4131
include:
42-
# - os: ubuntu-latest
43-
# name: Linux
44-
# - os: windows-latest
45-
# name: Windows
32+
- os: ubuntu-latest
33+
name: Linux
34+
- os: windows-latest
35+
name: Windows
4636
- os: macOS-latest
4737
name: macOS
4838

0 commit comments

Comments
 (0)