diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73ac04329..2bfbbf3f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -65,10 +74,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