File tree Expand file tree Collapse file tree 1 file changed +27
-4
lines changed Expand file tree Collapse file tree 1 file changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -134,23 +134,46 @@ jobs:
134
134
- lint
135
135
- mypy
136
136
137
- name : Build wheels on ${{ matrix.os }}
137
+ name : Build wheels on ${{ matrix.os }} ${{ matrix.name_suffix }}
138
138
runs-on : ${{ matrix.os }}
139
139
strategy :
140
140
matrix :
141
141
os :
142
- - ubuntu-latest
143
142
- windows-latest
144
143
- macos-latest
144
+ include :
145
+ # Only build CPython 3.x targets
146
+ - cibw_build : " cp3*"
147
+ cibw_skip : " "
148
+ name_suffix : " "
149
+
150
+ # Parallelize Linux builds because there are many!
151
+ - os : ubuntu-latest
152
+ name_suffix : " manylinux_x86_64"
153
+ cibw_build : " cp3*-manylinux_x86_64"
154
+ cibw_skip : " "
155
+ - os : ubuntu-latest
156
+ name_suffix : " manylinux_i686"
157
+ cibw_build : " cp3*-manylinux_i686"
158
+ cibw_skip : " "
159
+ - os : ubuntu-latest
160
+ name_suffix : " musllinux_x86_64"
161
+ cibw_build : " cp3*-musllinux_x86_64"
162
+ cibw_skip : " "
163
+ - os : ubuntu-latest
164
+ name_suffix : " others"
165
+ cibw_build : " cp3*"
166
+ cibw_skip : " cp3*-{manylinux_x86_64,manylinux_i686,musllinux_x86_64}"
167
+
145
168
146
169
steps :
147
170
- uses : actions/checkout@v2
148
171
149
172
- name : Build wheels
150
173
151
174
env :
152
- # Only build CPython 3.x targets
153
- CIBW_BUILD : " cp3* "
175
+ CIBW_BUILD : ${{ matrix.cibw_build }}
176
+ CIBW_SKIP : ${{ matrix.cibw_skip }}
154
177
# Ensure full C++17 availability on macOS builds
155
178
MACOSX_DEPLOYMENT_TARGET : " 10.13"
156
179
# Signal setup.py to fail if binary build fails
You can’t perform that action at this time.
0 commit comments