Skip to content

Commit a7e2a4f

Browse files
committed
ci: build_wheels support more arch
1 parent 2d18f0d commit a7e2a4f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/pypi.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ jobs:
1111
os: [ ubuntu-latest, macos-latest, windows-latest ]
1212
steps:
1313
- uses: actions/checkout@v3
14-
- uses: pypa/[email protected]
14+
- name: Set up QEMU
15+
if: runner.os == 'Linux'
16+
uses: docker/setup-qemu-action@v2
17+
with:
18+
platforms: all
19+
- uses: pypa/[email protected]
1520
env:
1621
CIBW_SKIP: cp36-*
1722
CIBW_BEFORE_BUILD: make clean
23+
CIBW_ARCHS_MACOS: universal2
24+
CIBW_ARCHS_LINUX: auto aarch64
1825
- uses: actions/upload-artifact@v3
1926
with:
2027
path: wheelhouse/*.whl

0 commit comments

Comments
 (0)