Skip to content

Commit

Permalink
Testing aarch64 build action.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluthen committed Feb 1, 2024
1 parent c8eece1 commit fb0ca75
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
# 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 }}
Expand Down

0 comments on commit fb0ca75

Please sign in to comment.