diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index b59e954..c9b3e4c 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -9,18 +9,20 @@ jobs: strategy: matrix: os: [ubuntu-20.04] + arch: [aarch64] + #arch: [x86_64, i686, aarch64] steps: - uses: actions/checkout@v4 + - name: Set up QEMU to emulate aarch64 + if: matrix.arch == 'aarch64' + uses: docker/setup-qemu-action@v3 + with: + platforms: arm64 + - name: Build aarch64 wheels + if: matrix.arch == 'aarch64' + run: echo 'CIBW_ARCHS_LINUX=aarch64' >> $GITHUB_ENV - name: Build wheels uses: pypa/cibuildwheel@v2.16.5 - # env: - # CIBW_SOME_OPTION: value - # ... - # with: - # package-dir: . - # output-dir: wheelhouse - # config-file: "{package}/pyproject.toml" - - uses: actions/upload-artifact@v4 with: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}