From 4fe58e2edc6da64a8ece0e2b16ec9ebfc5b3cd83 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 8 Nov 2023 16:15:47 -0600 Subject: [PATCH] feat: build aarch64 wheels (#1302) --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91ae876c..5e827beb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,12 +146,19 @@ jobs: ref: "${{ steps.release_tag.outputs.newest_release_tag }}" fetch-depth: 0 + - name: Set up QEMU + if: runner.os == 'Linux' + uses: docker/setup-qemu-action@v1 + with: + platforms: arm64 + - name: Build wheels uses: pypa/cibuildwheel@v2.16.2 # to supply options, put them in 'env', like: env: CIBW_SKIP: cp36-* CIBW_BEFORE_ALL_LINUX: apt-get install -y gcc || yum install -y gcc || apk add gcc + CIBW_ARCHS_LINUX: auto aarch64 CIBW_BUILD_VERBOSITY: 3 REQUIRE_CYTHON: 1