Skip to content

Commit

Permalink
Build ARM Python packages for Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Tom V <[email protected]>
  • Loading branch information
tomviner committed Sep 6, 2024
1 parent 5184c36 commit 0bac4ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,23 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3

- name: Build wheels (Python 3)
uses: pypa/[email protected]
with:
output-dir: wheelhouse
env:
CIBW_BUILD: ${{ matrix.python-build }}
CIBW_SKIP: '*musllinux*'
# configure cibuildwheel to build native archs ('auto'), and some
# emulated ones
CIBW_ARCHS_LINUX: auto aarch64
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 0bac4ea

Please sign in to comment.