add native arm builds to circleci-minimal example

This commit is contained in:
Min RK
2022-10-12 09:23:58 +02:00
parent 344d3e5845
commit ea535dca43
+18
View File
@@ -16,6 +16,23 @@ jobs:
- store_artifacts:
path: wheelhouse/
linux-aarch64-wheels:
working_directory: ~/linux-aarch64-wheels
machine:
image: ubuntu-2004:2022.04.1
# resource_class is what tells CircleCI to use an ARM worker for native arm builds
# https://circleci.com/product/features/resource-classes/
resource_class: arm.medium
steps:
- checkout
- run:
name: Build the Linux aarch64 wheels.
command: |
python3 -m pip install --user cibuildwheel==2.10.2
python3 -m cibuildwheel --output-dir wheelhouse
- store_artifacts:
path: wheelhouse/
osx-wheels:
working_directory: ~/osx-wheels
macos:
@@ -35,4 +52,5 @@ workflows:
all-tests:
jobs:
- linux-wheels
- linux-aarch64-wheels
- osx-wheels