From da4d617bd43ee18c2172416144d0e7e105b02fbb Mon Sep 17 00:00:00 2001 From: planetmarshall Date: Sat, 30 Dec 2023 17:03:54 +0000 Subject: [PATCH] add support for linux aarch64 builds in CI --- .github/workflows/build_deploy.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index ecbc922..4df8cd3 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -36,12 +36,16 @@ jobs: matrix: os: [ ubuntu-22.04, windows-2022, macos-12 ] pyversion: [ cp38, cp39, cp310, cp311, cp312 ] - arch: [ auto32, auto64, arm64 ] + arch: [ auto32, auto64, aarch64, arm64 ] exclude: - os: macos-12 arch: auto32 + - os: macos-12 + arch: aarch64 - os: windows-2022 arch: arm64 + - os: windows-2022 + arch: aarch64 - os: ubuntu-22.04 arch: arm64 - pyversion: cp312 @@ -59,6 +63,12 @@ jobs: with: arch: ${{ matrix.arch == 'auto64' && 'amd64' || 'amd64_x86' }} + - name: Install QEMU for Arm builds + if: matrix.arch == 'aarch64' + uses: docker/setup-qemu-action@v3 + with: + platforms: arm64 + - name: Build wheels uses: pypa/cibuildwheel@v2.16.2 env: