From 2d454af783699cd641f256f3443a44e5a76e42a1 Mon Sep 17 00:00:00 2001 From: Mark Elliot <123787712+mark-thm@users.noreply.github.com> Date: Thu, 24 Oct 2024 11:36:45 -0400 Subject: [PATCH 1/3] Publish linux arm64 wheels --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73ac04329..51cde7adc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,10 +65,17 @@ jobs: with: fetch-depth: 0 + - name: Set up QEMU (Linux Only) + if: runner.os == 'Linux' + uses: docker/setup-qemu-action@v3 + with: + platforms: all + - name: Build wheels uses: pypa/cibuildwheel@v2.21.3 env: CIBW_SKIP: pp* + CIBW_ARCHS_LINUX: auto aarch64 - name: Store wheel artifacts uses: actions/upload-artifact@v4 From 76cbd006ef08abc4c86e52a5de7d7d0ecda4dc6f Mon Sep 17 00:00:00 2001 From: Mark Elliot <123787712+mark-thm@users.noreply.github.com> Date: Thu, 24 Oct 2024 14:11:41 -0400 Subject: [PATCH 2/3] include arm64 tests --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51cde7adc..c8f1a1eba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - architecture: [x86, x64] + architecture: [x86, x64, arm64] os: [ ubuntu-latest, From 8f5bc28b1e67b76eb238c740f49ab39453decabf Mon Sep 17 00:00:00 2001 From: Mark Elliot <123787712+mark-thm@users.noreply.github.com> Date: Fri, 25 Oct 2024 08:30:06 -0400 Subject: [PATCH 3/3] Use QEMU in test, limit scope to Linux/arm64 --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8f1a1eba..2bfbbf3f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - architecture: [x86, x64, arm64] + architecture: [x86, x64] os: [ ubuntu-latest, @@ -27,10 +27,19 @@ jobs: architecture: x86 - os: macos-12 architecture: x86 + include: + - os: ubuntu-latest + architecture: arm64 steps: - uses: actions/checkout@v4 + - name: Set up QEMU (Linux/arm64 Only) + if: runner.os == 'Linux' && matrix.architecture == "arm64" + uses: docker/setup-qemu-action@v3 + with: + platforms: arm64 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: