Skip to content

Commit 8b12853

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

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,38 @@ 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+
CIBW_ENVIRONMENT: LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 LIBGIT2=/project/ci
71+
72+
- uses: actions/upload-artifact@v4
73+
with:
74+
name: wheels-linux-ppc
75+
path: ./wheelhouse/*.whl
76+
4877
pypi:
4978
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
50-
needs: [build_wheels]
79+
needs: [build_wheels, build_wheels_ppc]
5180
runs-on: ubuntu-24.04
5281

5382
steps:

0 commit comments

Comments
 (0)