Skip to content

Commit 5b1486d

Browse files
committed
CI: get back PowerPC wheels
1 parent 711a439 commit 5b1486d

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@ on:
44
push:
55
branches:
66
- master
7+
- ci-*
78
tags:
89
- 'v*'
910

1011
jobs:
1112
build_wheels:
12-
name: Build wheels on ${{ matrix.os }}
13+
name: Build wheels for ${{ matrix.name }}
1314
runs-on: ${{ matrix.os }}
1415
strategy:
1516
matrix:
1617
include:
17-
- name: linux
18+
- name: linux-amd
1819
os: ubuntu-24.04
1920
- name: linux-arm
2021
os: ubuntu-24.04-arm
@@ -39,9 +40,37 @@ jobs:
3940
name: wheels-${{ matrix.name }}
4041
path: ./wheelhouse/*.whl
4142

43+
build_wheels_ppc:
44+
name: Build wheels for linux-ppc
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+
4271
pypi:
4372
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
44-
needs: [build_wheels]
73+
needs: [build_wheels, build_wheels_ppc]
4574
runs-on: ubuntu-24.04
4675

4776
steps:

0 commit comments

Comments
 (0)