Skip to content

Commit

Permalink
CI: get back PowerPC wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Feb 2, 2025
1 parent 5454758 commit 8b12853
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,38 @@ jobs:
name: wheels-${{ matrix.name }}
path: ./wheelhouse/*.whl

build_wheels_ppc:
name: Build wheels for linux-ppc
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.11'

- uses: docker/setup-qemu-action@v3
with:
platforms: linux/ppc64le

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.22.0

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ARCHS: ppc64le
CIBW_ENVIRONMENT: LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 LIBGIT2=/project/ci

- uses: actions/upload-artifact@v4
with:
name: wheels-linux-ppc
path: ./wheelhouse/*.whl

pypi:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
needs: [build_wheels]
needs: [build_wheels, build_wheels_ppc]
runs-on: ubuntu-24.04

steps:
Expand Down

0 comments on commit 8b12853

Please sign in to comment.