Skip to content

Commit 7978f96

Browse files
authored
Add Linux aarch64 Wheel Built Support (#78)
Signed-off-by: odidev <[email protected]>
1 parent 046b5a3 commit 7978f96

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/build_wheel.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,30 @@ env:
99

1010
jobs:
1111
build_wheels:
12-
name: Build wheels on ${{ matrix.os }}
12+
name: Build wheels on ${{matrix.arch}} for ${{ matrix.os }}
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
1616
os: [ubuntu-20.04, windows-2019, macos-latest]
17+
arch: [auto]
18+
include:
19+
- os: ubuntu-20.04
20+
arch: aarch64
1721

1822
steps:
1923
- uses: actions/checkout@v2
2024

25+
- name: Set up QEMU
26+
if: ${{ matrix.arch == 'aarch64' }}
27+
uses: docker/setup-qemu-action@v1
28+
2129
- name: Build wheels
2230
uses: joerick/[email protected]
2331
# to supply options, put them in 'env', like:
2432
env:
33+
CIBW_ARCHS_LINUX: ${{matrix.arch}}
2534
CIBW_BEFORE_BUILD: pip install oldest-supported-numpy
2635

2736
- uses: actions/upload-artifact@v2
2837
with:
29-
path: ./wheelhouse/*.whl
38+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)