Skip to content

Commit d64497e

Browse files
committed
CI: get back PowerPC wheels
1 parent 5454758 commit d64497e

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,37 @@ jobs:
4545
name: wheels-${{ matrix.name }}
4646
path: ./wheelhouse/*.whl
4747

48+
build_wheels_ppc:
49+
name: Build wheels for linux-ppc
50+
runs-on: ubuntu-24.04
51+
52+
steps:
53+
- uses: actions/checkout@v4
54+
55+
- uses: actions/setup-python@v5
56+
with:
57+
python-version: '3.11'
58+
59+
- uses: docker/setup-qemu-action@v3
60+
with:
61+
platforms: linux/ppc64le
62+
63+
- name: Install cibuildwheel
64+
run: python -m pip install cibuildwheel==2.22.0
65+
66+
- name: Build wheels
67+
run: python -m cibuildwheel --output-dir wheelhouse
68+
env:
69+
CIBW_ARCHS: ppc64le
70+
71+
- uses: actions/upload-artifact@v4
72+
with:
73+
name: wheels-linux-ppc
74+
path: ./wheelhouse/*.whl
75+
4876
pypi:
4977
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
50-
needs: [build_wheels]
78+
needs: [build_wheels, build_wheels_ppc]
5179
runs-on: ubuntu-24.04
5280

5381
steps:

0 commit comments

Comments
 (0)