Skip to content

Commit b6f69ba

Browse files
committed
CI: Correct architectures, use QEMU
1 parent 01ae10f commit b6f69ba

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/publish.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
run: |
1515
python -m pip install --upgrade pip
1616
python -m pip install --upgrade build twine
17+
1718
- name: Build SDist
1819
run: python -m build --sdist
1920

@@ -34,6 +35,12 @@ jobs:
3435
steps:
3536
- uses: actions/checkout@v3
3637

38+
- name: Set up QEMU
39+
if: runner.os == 'Linux'
40+
uses: docker/setup-qemu-action@v2
41+
with:
42+
platforms: all
43+
3744
- uses: actions/setup-python@v4
3845
with:
3946
python-version: '3.11'
@@ -44,9 +51,9 @@ jobs:
4451
- name: Build wheels
4552
run: python -m cibuildwheel --output-dir wheelhouse
4653
env:
47-
CIBW_ARCHS_LINUX: x86_64,i686,aarch64,ppc64le,s390x
48-
CIBW_ARCHS_WINDOWS: x86_64,arm64,universal2
49-
CIBW_ARCHS_MACOS: AMD64,x86,ARM64
54+
CIBW_ARCHS_LINUX: x86_64 i686 aarch64 ppc64le s390x
55+
CIBW_ARCHS_WINDOWS: AMD64 x86 ARM64
56+
CIBW_ARCHS_MACOS: x86_64 arm64 universal2
5057

5158
- name: Inspect
5259
run: ls wheelhouse/

0 commit comments

Comments
 (0)