Skip to content

Commit e1916d2

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

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ on:
1010

1111
jobs:
1212
build_wheels:
13-
name: Build wheels on ${{ matrix.os }}
13+
name: Build wheels for ${{ matrix.name }}
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
1717
include:
18-
- name: linux
18+
- name: linux-amd
1919
os: ubuntu-24.04
2020
- name: linux-arm
2121
os: ubuntu-24.04-arm
@@ -40,9 +40,37 @@ jobs:
4040
name: wheels-${{ matrix.name }}
4141
path: ./wheelhouse/*.whl
4242

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

4876
steps:

0 commit comments

Comments
 (0)