Skip to content

Commit 87bfbe3

Browse files
committed
fix secondary wheel
include and exclude doesn't expand a list to a matrix. Furthermore, extra spaces in > are dangerous!
1 parent 839724a commit 87bfbe3

1 file changed

Lines changed: 26 additions & 8 deletions

File tree

.github/workflows/build_secondary_wheels.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,25 @@ jobs:
2121
include:
2222
- os: ubuntu-latest
2323
cbw_os: manylinux_
24+
arch: i686
25+
- os: ubuntu-latest
26+
cbw_os: musllinux_
2427
arch: x86_64
2528
- os: ubuntu-latest
2629
cbw_os: musllinux_
27-
arch: [x86_64, i686]
30+
arch: i686
31+
- os: ubuntu-24.04-arm
32+
cbw_os: manylinux_
33+
arch: aarch64
34+
- os: ubuntu-24.04-arm
35+
cbw_os: manylinux_
36+
arch: armv7l
37+
- os: ubuntu-24.04-arm
38+
cbw_os: musllinux_
39+
arch: aarch64
2840
- os: ubuntu-24.04-arm
29-
cbw_os: [manylinux_, musllinux_]
30-
arch: [aarch64, armv7l]
41+
cbw_os: musllinux_
42+
arch: armv7l
3143
- os: windows-latest
3244
cbw_os: win_
3345
arch: arm64
@@ -36,7 +48,13 @@ jobs:
3648
arch: ""
3749
- os: macos-latest
3850
cbw_os: macosx_
39-
arch: [x86_64, arm64, universal2]
51+
arch: x86_64
52+
- os: macos-latest
53+
cbw_os: macosx_
54+
arch: arm64
55+
- os: macos-latest
56+
cbw_os: macosx_
57+
arch: universal2
4058

4159
steps:
4260
- uses: actions/checkout@v3
@@ -56,7 +74,7 @@ jobs:
5674
CIBW_TEST_COMMAND: >
5775
python -X faulthandler {package}/test/debug.py
5876
&& python -X faulthandler -m pytest -p no:faulthandler
59-
-s {package}/test
77+
-s {package}
6078
6179
- uses: actions/upload-artifact@v4
6280
with:
@@ -98,7 +116,7 @@ jobs:
98116
CIBW_TEST_COMMAND: >
99117
python -X faulthandler {package}/test/debug.py
100118
&& python -X faulthandler -m pytest -p no:faulthandler
101-
-s {package}/test
119+
-s {package}
102120
103121
- uses: actions/upload-artifact@v4
104122
with:
@@ -137,7 +155,7 @@ jobs:
137155
CIBW_TEST_COMMAND: >
138156
python -X faulthandler {package}/test/debug.py
139157
&& python -X faulthandler -m pytest -p no:faulthandler
140-
-s {package}/test
158+
-s {package}
141159
142160
- uses: actions/upload-artifact@v4
143161
with:
@@ -169,7 +187,7 @@ jobs:
169187
CIBW_TEST_COMMAND: >
170188
python -X faulthandler {package}/test/debug.py
171189
&& python -X faulthandler -m pytest -p no:faulthandler
172-
-s {package}/test
190+
-s {package}
173191
174192
- uses: actions/upload-artifact@v4
175193
with:

0 commit comments

Comments
 (0)