add native arm builds to circleci-minimal example
This commit is contained in:
@@ -16,6 +16,23 @@ jobs:
|
|||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: wheelhouse/
|
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:
|
osx-wheels:
|
||||||
working_directory: ~/osx-wheels
|
working_directory: ~/osx-wheels
|
||||||
macos:
|
macos:
|
||||||
@@ -35,4 +52,5 @@ workflows:
|
|||||||
all-tests:
|
all-tests:
|
||||||
jobs:
|
jobs:
|
||||||
- linux-wheels
|
- linux-wheels
|
||||||
|
- linux-aarch64-wheels
|
||||||
- osx-wheels
|
- osx-wheels
|
||||||
|
|||||||
Reference in New Issue
Block a user