File tree Expand file tree Collapse file tree 4 files changed +44
-3
lines changed Expand file tree Collapse file tree 4 files changed +44
-3
lines changed Original file line number Diff line number Diff line change 37
37
command : venv/bin/python ./bin/run_tests.py
38
38
no_output_timeout : 30m
39
39
40
+ linux-aarch64 :
41
+ machine :
42
+ image : ubuntu-2004:2022.04.1
43
+ resource_class : arm.medium
44
+ environment :
45
+ PYTHON : python3
46
+ # Temporarily restrict the tests that are run on CircleCI to prevent
47
+ # test timeouts.
48
+ PYTEST_ADDOPTS : -k "unit_test or main_tests or test_0_basic or test_docker_images"
49
+ steps :
50
+ - checkout
51
+
52
+ - run :
53
+ name : Prepare the environment.
54
+ command : bash .circleci/prepare.sh
55
+ - run :
56
+ name : Test.
57
+ command : venv/bin/python ./bin/run_tests.py
58
+ no_output_timeout : 30m
59
+
40
60
workflows :
41
61
version : 2
42
62
all-tests :
43
63
jobs :
44
64
- osx-python3.9
45
65
- linux-python3.9
66
+ - linux-aarch64
Original file line number Diff line number Diff line change 57
57
| Azure Pipelines | ✅ | ✅ | ✅ | | ✅² | ✅⁴ |
58
58
| Travis CI | ✅ | | ✅ | ✅ | | |
59
59
| AppVeyor | ✅ | ✅ | ✅ | | ✅² | ✅⁴ |
60
- | CircleCI | ✅ | ✅ | | | ✅² | |
60
+ | CircleCI | ✅ | ✅ | | ✅ | ✅² | |
61
61
| Gitlab CI | ✅ | | ✅ | ✅¹ | | |
62
62
| Cirrus CI | ✅ | ✅³ | ✅ | ✅ | ✅ | |
63
63
Original file line number Diff line number Diff line change 172
172
173
173
- name : pyzmq
174
174
gh : zeromq/pyzmq
175
- ci : [github]
175
+ ci : [github, circleci ]
176
176
os : [windows, apple, linux]
177
177
ci_config : .github/workflows/wheels.yml
178
178
notes : |
179
- Python bindings for zeromq, the networking library. Uses Cython and CFFI.
179
+ Python bindings for zeromq, the networking library.
180
+ Uses Cython on CPython and CFFI on PyPy.
181
+ ARM wheels for linux are built natively on CircleCI.
180
182
181
183
- name : python-rapidjson
182
184
gh : python-rapidjson/python-rapidjson
Original file line number Diff line number Diff line change 16
16
- store_artifacts :
17
17
path : wheelhouse/
18
18
19
+ linux-aarch64-wheels :
20
+ working_directory : ~/linux-aarch64-wheels
21
+ machine :
22
+ image : ubuntu-2004:2022.04.1
23
+ # resource_class is what tells CircleCI to use an ARM worker for native arm builds
24
+ # https://circleci.com/product/features/resource-classes/
25
+ resource_class : arm.medium
26
+ steps :
27
+ - checkout
28
+ - run :
29
+ name : Build the Linux aarch64 wheels.
30
+ command : |
31
+ python3 -m pip install --user cibuildwheel==2.10.2
32
+ python3 -m cibuildwheel --output-dir wheelhouse
33
+ - store_artifacts :
34
+ path : wheelhouse/
35
+
19
36
osx-wheels :
20
37
working_directory : ~/osx-wheels
21
38
macos :
@@ -35,4 +52,5 @@ workflows:
35
52
all-tests :
36
53
jobs :
37
54
- linux-wheels
55
+ - linux-aarch64-wheels
38
56
- osx-wheels
You can’t perform that action at this time.
0 commit comments