Skip to content

Commit 4fe58e2

Browse files
authored
feat: build aarch64 wheels (#1302)
1 parent aff7276 commit 4fe58e2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,19 @@ jobs:
146146
ref: "${{ steps.release_tag.outputs.newest_release_tag }}"
147147
fetch-depth: 0
148148

149+
- name: Set up QEMU
150+
if: runner.os == 'Linux'
151+
uses: docker/setup-qemu-action@v1
152+
with:
153+
platforms: arm64
154+
149155
- name: Build wheels
150156
uses: pypa/cibuildwheel@v2.16.2
151157
# to supply options, put them in 'env', like:
152158
env:
153159
CIBW_SKIP: cp36-*
154160
CIBW_BEFORE_ALL_LINUX: apt-get install -y gcc || yum install -y gcc || apk add gcc
161+
CIBW_ARCHS_LINUX: auto aarch64
155162
CIBW_BUILD_VERBOSITY: 3
156163
REQUIRE_CYTHON: 1
157164

0 commit comments

Comments
 (0)