Skip to content

Commit eba0249

Browse files
committed
CI: get back PowerPC wheels
1 parent 12c575e commit eba0249

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

.github/workflows/wheels.yml

+33-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
build_wheels:
13-
name: Build wheels for ${{ matrix.name }}
13+
name: Wheels for ${{ matrix.name }}
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
@@ -35,8 +35,8 @@ jobs:
3535
- name: Build wheels
3636
run: python -m cibuildwheel --output-dir wheelhouse
3737
env:
38-
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28"
3938
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux_2_28"
39+
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28"
4040
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: "manylinux_2_28"
4141
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: "manylinux_2_28"
4242

@@ -45,9 +45,39 @@ jobs:
4545
name: wheels-${{ matrix.name }}
4646
path: ./wheelhouse/*.whl
4747

48+
build_wheels_ppc:
49+
name: 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+
CIBW_ENVIRONMENT: LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 LIBGIT2=/project/ci
71+
CIBW_MANYLINUX_PPC64LE_IMAGE: "manylinux_2_28"
72+
73+
- uses: actions/upload-artifact@v4
74+
with:
75+
name: wheels-linux-ppc
76+
path: ./wheelhouse/*.whl
77+
4878
pypi:
4979
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
50-
needs: [build_wheels]
80+
needs: [build_wheels, build_wheels_ppc]
5181
runs-on: ubuntu-24.04
5282

5383
steps:

0 commit comments

Comments
 (0)