Skip to content

Commit 670de7f

Browse files
authored
gha: add linux/aarch64 architecture (#30)
1 parent ff4c758 commit 670de7f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Diff for: .github/workflows/build.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ jobs:
2929
runs-on: ${{ matrix.os }}
3030
steps:
3131
- uses: actions/checkout@v3
32-
- run: make requirements c_lib
32+
- run: make requirements
33+
- name: Set up QEMU # Needed to build aarch64 wheels
34+
if: runner.os == 'Linux'
35+
uses: docker/setup-qemu-action@v2
36+
with:
37+
platforms: all
3338
- uses: pypa/[email protected]
3439
- uses: actions/upload-artifact@v3
3540
with:

Diff for: pyproject.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ build = [
2525
"pp38-*",
2626
"pp39-*",
2727
]
28+
before-all = "make c_lib"
2829

2930
[tool.cibuildwheel.linux]
30-
archs = ["x86_64"]
31+
archs = ["x86_64", "aarch64"]
3132

3233
[tool.cibuildwheel.macos]
3334
archs = ["x86_64", "universal2", "arm64"]
35+
environment = { MACOSX_DEPLOYMENT_TARGET="10.15" }

0 commit comments

Comments
 (0)