@@ -145,7 +145,7 @@ jobs:
145
145
CIBW_ARCHS_LINUX : " auto64"
146
146
CIBW_ENVIRONMENT : ' PATH="$PATH:$HOME/.cargo/bin"'
147
147
CIBW_BUILD : " *-musllinux_x86_64"
148
- CIBW_SKIP : " cp27-* cp34-* cp35-* cp36-* cp37-* "
148
+ CIBW_SKIP : " cp27-* cp34-* cp35-*"
149
149
150
150
steps :
151
151
- uses : actions/checkout@v3
@@ -163,6 +163,74 @@ jobs:
163
163
name : wheels
164
164
path : dist
165
165
166
+ build_wheels_python36 :
167
+ name : Build wheels on aarch64 for python3.6
168
+ runs-on : ubuntu-latest
169
+
170
+ env :
171
+ CIBW_BUILD_VERBOSITY : 1
172
+ CIBW_BEFORE_ALL_LINUX : " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y"
173
+ CIBW_ARCHS_LINUX : " aarch64"
174
+ CIBW_ENVIRONMENT : ' PATH="$PATH:$HOME/.cargo/bin"'
175
+ CIBW_BUILD : " cp36-musllinux_aarch64 cp36-manylinux_aarch64"
176
+
177
+ steps :
178
+ - uses : actions/checkout@v3
179
+
180
+ - name : add additional package
181
+ run : sudo apt-get install patchelf
182
+
183
+ - name : Set up QEMU
184
+ uses : docker/setup-qemu-action@v2
185
+ with :
186
+ platforms : arm64
187
+
188
+ - name : Build wheels
189
+ uses : pypa/cibuildwheel@v2.9.0
190
+ with :
191
+ output-dir : dist
192
+
193
+
194
+ - uses : actions/upload-artifact@v3
195
+ with :
196
+ name : wheels
197
+ path : dist
198
+
199
+
200
+ build_wheels_python37 :
201
+ name : Build wheels on aarch64 for python3.7
202
+ runs-on : ubuntu-latest
203
+
204
+ env :
205
+ CIBW_BUILD_VERBOSITY : 1
206
+ CIBW_BEFORE_ALL_LINUX : " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y"
207
+ CIBW_ARCHS_LINUX : " aarch64"
208
+ CIBW_ENVIRONMENT : ' PATH="$PATH:$HOME/.cargo/bin"'
209
+ CIBW_BUILD : " cp37-musllinux_aarch64 cp37-manylinux_aarch64"
210
+
211
+ steps :
212
+ - uses : actions/checkout@v3
213
+
214
+ - name : add additional package
215
+ run : sudo apt-get install patchelf
216
+
217
+ - name : Set up QEMU
218
+ uses : docker/setup-qemu-action@v2
219
+ with :
220
+ platforms : arm64
221
+
222
+ - name : Build wheels
223
+ uses : pypa/cibuildwheel@v2.9.0
224
+ with :
225
+ output-dir : dist
226
+
227
+
228
+ - uses : actions/upload-artifact@v3
229
+ with :
230
+ name : wheels
231
+ path : dist
232
+
233
+
166
234
build_wheels_python38 :
167
235
name : Build wheels on aarch64 for python3.8
168
236
runs-on : ubuntu-latest
@@ -172,8 +240,7 @@ jobs:
172
240
CIBW_BEFORE_ALL_LINUX : " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y"
173
241
CIBW_ARCHS_LINUX : " aarch64"
174
242
CIBW_ENVIRONMENT : ' PATH="$PATH:$HOME/.cargo/bin"'
175
- CIBW_BUILD : " cp38-musllinux_aarch64"
176
- CIBW_SKIP : " cp27-* cp34-* cp35-* cp36-* cp37-*"
243
+ CIBW_BUILD : " cp38-musllinux_aarch64 cp38-manylinux_aarch64"
177
244
178
245
steps :
179
246
- uses : actions/checkout@v3
@@ -206,8 +273,7 @@ jobs:
206
273
CIBW_BEFORE_ALL_LINUX : " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y"
207
274
CIBW_ARCHS_LINUX : " aarch64"
208
275
CIBW_ENVIRONMENT : ' PATH="$PATH:$HOME/.cargo/bin"'
209
- CIBW_BUILD : " cp39-musllinux_aarch64"
210
- CIBW_SKIP : " cp27-* cp34-* cp35-* cp36-* cp37-*"
276
+ CIBW_BUILD : " cp39-musllinux_aarch64 cp39-manylinux_aarch64"
211
277
212
278
steps :
213
279
- uses : actions/checkout@v3
@@ -240,8 +306,7 @@ jobs:
240
306
CIBW_BEFORE_ALL_LINUX : " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y"
241
307
CIBW_ARCHS_LINUX : " aarch64"
242
308
CIBW_ENVIRONMENT : ' PATH="$PATH:$HOME/.cargo/bin"'
243
- CIBW_BUILD : " cp310-musllinux_aarch64"
244
- CIBW_SKIP : " cp27-* cp34-* cp35-* cp36-* cp37-*"
309
+ CIBW_BUILD : " cp310-musllinux_aarch64 cp310-manylinux_aarch64"
245
310
246
311
steps :
247
312
- uses : actions/checkout@v3
@@ -274,8 +339,7 @@ jobs:
274
339
CIBW_BEFORE_ALL_LINUX : " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y"
275
340
CIBW_ARCHS_LINUX : " aarch64"
276
341
CIBW_ENVIRONMENT : ' PATH="$PATH:$HOME/.cargo/bin"'
277
- CIBW_BUILD : " cp311-musllinux_aarch64"
278
- CIBW_SKIP : " cp27-* cp34-* cp35-* cp36-* cp37-*"
342
+ CIBW_BUILD : " cp311-musllinux_aarch64 cp311-manylinux_aarch64"
279
343
280
344
steps :
281
345
- uses : actions/checkout@v3
@@ -303,7 +367,7 @@ jobs:
303
367
name : Release
304
368
runs-on : ubuntu-latest
305
369
if : " startsWith(github.ref, 'refs/tags/')"
306
- needs : [ macos, windows, linux, build_wheels_x86_64, build_wheels_python38, build_wheels_python39, build_wheels_python310, build_wheels_python311]
370
+ needs : [ macos, windows, linux, build_wheels_x86_64, build_wheels_python36, build_wheels_python37, build_wheels_python38, build_wheels_python39, build_wheels_python310, build_wheels_python311]
307
371
steps :
308
372
- uses : actions/download-artifact@v2
309
373
with :
0 commit comments