Skip to content

Commit f10706d

Browse files
committed
CI: get back PowerPC wheels
1 parent 29122d1 commit f10706d

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,40 @@ jobs:
4040
name: wheels-${{ matrix.name }}
4141
path: ./wheelhouse/*.whl
4242

43+
build_wheels_ppc:
44+
name: Build wheels on ${{ matrix.os }}
45+
runs-on: ${{ matrix.os }}
46+
strategy:
47+
matrix:
48+
include:
49+
- name: linux
50+
os: 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+
69+
- uses: actions/upload-artifact@v4
70+
with:
71+
name: wheels-linux-ppc
72+
path: ./wheelhouse/*.whl
73+
4374
pypi:
4475
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
45-
needs: [build_wheels]
76+
needs: [build_wheels, build_wheels_ppc]
4677
runs-on: ubuntu-24.04
4778

4879
steps:

0 commit comments

Comments
 (0)