@@ -84,17 +84,33 @@ jobs:
84
84
- store_artifacts : *store-wheel
85
85
- persist_to_workspace : *persist-wheel
86
86
87
- build-linux-wheel :
87
+ build-linux-x64- wheel :
88
88
docker :
89
- - image : quay.io/pypa/manylinux2014_x86_64:latest
89
+ - image : messense/manylinux2014-cross:x86_64
90
90
steps :
91
91
- checkout
92
92
- rust/install
93
93
- run :
94
94
name : Install Maturin and Build wheel
95
95
command : |
96
96
cd src/python_wrapper
97
- PYBIN_DIR="/opt/python/cp37-cp37m/bin"
97
+ PYBIN_DIR="/opt/python/cp39-cp39/bin"
98
+ "${PYBIN_DIR}/pip" install maturin
99
+ "${PYBIN_DIR}/maturin" build --bindings=pyo3
100
+ - store_artifacts : *store-wheel
101
+ - persist_to_workspace : *persist-wheel
102
+
103
+ build-linux-aarch-wheel :
104
+ docker :
105
+ - image : messense/manylinux2014-cross:aarch64
106
+ steps :
107
+ - checkout
108
+ - rust/install
109
+ - run :
110
+ name : Install Maturin and Build wheel
111
+ command : |
112
+ cd src/python_wrapper
113
+ PYBIN_DIR="/opt/python/cp39-cp39/bin"
98
114
"${PYBIN_DIR}/pip" install maturin
99
115
"${PYBIN_DIR}/maturin" build --bindings=pyo3
100
116
- store_artifacts : *store-wheel
@@ -135,7 +151,7 @@ jobs:
135
151
136
152
integration-test-linux :
137
153
docker :
138
- - image : python:3.7
154
+ - image : python:3.9
139
155
steps :
140
156
- attach_workspace :
141
157
at : .
@@ -218,38 +234,9 @@ jobs:
218
234
workflows :
219
235
unit-test-build-and-integration-test :
220
236
jobs :
221
- - unit-tests
222
- - build-linux-wheel :
223
- requires :
224
- - unit-tests
225
- - build-macos-wheel :
226
- requires :
227
- - unit-tests
228
- - build-windows-wheel :
229
- requires :
230
- - unit-tests
237
+ - build-linux-x64-wheel
238
+ - build-linux-aarch-wheel
231
239
- integration-test-linux :
232
240
requires :
233
- - build-linux-wheel
234
- - integration-test-macos :
235
- requires :
236
- - build-macos-wheel
237
- - integration-test-windows :
238
- requires :
239
- - build-windows-wheel
240
- - publish-to-testpypi :
241
- requires :
242
- - integration-test-linux
243
- - integration-test-macos
244
- - integration-test-windows
245
- filters :
246
- branches :
247
- only : master
248
- - publish-to-pypi :
249
- requires :
250
- - integration-test-linux
251
- - integration-test-macos
252
- - integration-test-windows
253
- filters :
254
- branches :
255
- only : production
241
+ - build-linux-x64-wheel
242
+ - build-linux-aarch-wheel
0 commit comments