Skip to content

Commit 1577f42

Browse files
committed
CI: get back PowerPC wheels
1 parent 8810e4c commit 1577f42

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

.github/workflows/wheels.yml

+32-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ 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_PPC64LE_IMAGE: "manylinux_2_28"
40+
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28"
4041
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: "manylinux_2_28"
4142
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: "manylinux_2_28"
4243

@@ -45,9 +46,38 @@ jobs:
4546
name: wheels-${{ matrix.name }}
4647
path: ./wheelhouse/*.whl
4748

49+
build_wheels_ppc:
50+
name: Build wheels for linux-ppc
51+
runs-on: ubuntu-24.04
52+
53+
steps:
54+
- uses: actions/checkout@v4
55+
56+
- uses: actions/setup-python@v5
57+
with:
58+
python-version: '3.11'
59+
60+
- uses: docker/setup-qemu-action@v3
61+
with:
62+
platforms: linux/ppc64le
63+
64+
- name: Install cibuildwheel
65+
run: python -m pip install cibuildwheel==2.22.0
66+
67+
- name: Build wheels
68+
run: python -m cibuildwheel --output-dir wheelhouse
69+
env:
70+
CIBW_ARCHS: ppc64le
71+
CIBW_ENVIRONMENT: LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 LIBGIT2=/project/ci
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)