Skip to content

Commit

Permalink
Add Python build for Linux on ARM architecture (AcademySoftwareFounda…
Browse files Browse the repository at this point in the history
…tion#1795)

Signed-off-by: Tom V <[email protected]>
  • Loading branch information
tomviner authored Oct 14, 2024
1 parent 129c4bb commit ee3e317
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,20 @@ 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*'
CIBW_ARCHS_LINUX: x86_64 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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ requires = [
build-backend = "setuptools.build_meta"

[tool.cibuildwheel.linux]
archs = ["x86_64"]
archs = ["x86_64", "aarch64"]

[tool.cibuildwheel.windows]
archs = ["AMD64"]

0 comments on commit ee3e317

Please sign in to comment.