Skip to content

Commit 73538d7

Browse files
committed
ci: build aarch64 wheels on Linux
1 parent 4f8784e commit 73538d7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/build-wheels.yml

+6
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v2
15+
- name: Set up QEMU
16+
if: runner.os == 'Linux'
17+
uses: docker/setup-qemu-action@v1
18+
with:
19+
platforms: all
1520
- name: Build wheels
1621
uses: joerick/cibuildwheel@v1.11.0
1722
env:
1823
CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-*"
24+
CIBW_ARCHS_LINUX: auto aarch64

.github/workflows/release-wheels.yml

+6
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,16 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v2
18+
- name: Set up QEMU
19+
if: runner.os == 'Linux'
20+
uses: docker/setup-qemu-action@v1
21+
with:
22+
platforms: all
1823
- name: Build wheels
1924
uses: joerick/cibuildwheel@v1.11.0
2025
env:
2126
CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-*"
27+
CIBW_ARCHS_LINUX: auto aarch64
2228
- uses: actions/upload-artifact@v2
2329
with:
2430
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)