Skip to content

Commit 4dfd037

Browse files
committed
Add support to build ARM & ppc64le wheels
Signed-off-by: Marvin Giessing <[email protected]>
1 parent 8bdcd75 commit 4dfd037

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.DS_Store

6 KB
Binary file not shown.

.github/workflows/build-and-deploy.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v3
15+
- name: Set up QEMU
16+
if: runner.os == 'Linux'
17+
uses: docker/setup-qemu-action@v2
18+
with:
19+
platforms: all
1520
# Used to host cibuildwheel
16-
- uses: actions/setup-python@v3
17-
- name: Install cibuildwheel
18-
run: python -m pip install cibuildwheel==2.7.0
1921
- name: Build wheels
20-
run: python -m cibuildwheel --output-dir wheelhouse
22+
uses: pypa/[email protected]
23+
env:
24+
CIBW_ARCHS_LINUX: auto aarch64 ppc64le
2125
- uses: actions/upload-artifact@v3
2226
with:
2327
path: ./wheelhouse/*.whl

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push]
44

55
jobs:
66
test:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-20.04
88
strategy:
99
matrix:
1010
python: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", pypy-3.7, pypy-3.8, pypy-3.9]
@@ -18,7 +18,7 @@ jobs:
1818
- run: pytest
1919

2020
install:
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-20.04
2222
strategy:
2323
matrix:
2424
python: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", pypy-3.7, pypy-3.8, pypy-3.9]

0 commit comments

Comments
 (0)