Skip to content

Commit 29c6a4d

Browse files
Add support for ppc64le architecture to CI and wheel-builder workflows (#13130)
* Add support for ppc64le architecture to CI and wheel-builder workflows * using manylinux_2_34 image and ubuntu-rolling image * docs: add ppc64le to supported platforms list * Update docs/installation.rst Co-authored-by: Paul Kehrer <[email protected]> --------- Co-authored-by: Paul Kehrer <[email protected]>
1 parent e0739a2 commit 29c6a4d

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ jobs:
175175
- {IMAGE: "ubuntu-rolling:aarch64", NOXSESSION: "tests", RUNNER: "ubuntu-24.04-arm"}
176176

177177
- {IMAGE: "ubuntu-rolling:armv7l", NOXSESSION: "tests", RUNNER: "ubuntu-24.04-arm"}
178+
179+
- {IMAGE: "ubuntu-rolling:ppc64le", NOXSESSION: "tests", RUNNER: "ubuntu-24.04-ppc64le"}
178180
timeout-minutes: 15
179181
env:
180182
RUSTUP_HOME: /root/.rustup

.github/workflows/wheel-builder.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ jobs:
8181
- { NAME: "musllinux_1_2_aarch64", CONTAINER: "cryptography-musllinux_1_2:aarch64", RUNNER: "ubuntu-24.04-arm" }
8282

8383
- { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" }
84+
85+
- { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" }
86+
- { NAME: "manylinux_2_34_ppc64le", CONTAINER: "cryptography-manylinux_2_34:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" }
87+
8488
exclude:
8589
# There are no readily available musllinux PyPy distributions
8690
- PYTHON: { VERSION: "pp310-pypy310_pp73" }
@@ -107,6 +111,17 @@ jobs:
107111
MANYLINUX: { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" }
108112
- PYTHON: { VERSION: "pp311-pypy311_pp73" }
109113
MANYLINUX: { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" }
114+
115+
# No PyPy on ppc64le
116+
- PYTHON: { VERSION: "pp311-pypy311_pp73" }
117+
MANYLINUX: { NAME: "manylinux_2_34_ppc64le", CONTAINER: "cryptography-manylinux_2_34:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" }
118+
- PYTHON: { VERSION: "pp310-pypy310_pp73" }
119+
MANYLINUX: { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" }
120+
- PYTHON: { VERSION: "pp310-pypy310_pp73" }
121+
MANYLINUX: { NAME: "manylinux_2_34_ppc64le", CONTAINER: "cryptography-manylinux_2_34:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" }
122+
- PYTHON: { VERSION: "pp311-pypy311_pp73" }
123+
MANYLINUX: { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" }
124+
110125
name: "${{ matrix.PYTHON.VERSION }} for ${{ matrix.MANYLINUX.NAME }}"
111126
steps:
112127
- name: Ridiculous-er workaround for static node20

docs/installation.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ operating systems.
3535
Sid (unstable)
3636
* x86-64 and ARM64 Alpine (latest)
3737
* 32-bit and 64-bit Python on 64-bit Windows Server 2022
38+
* ``ppc64le`` Ubuntu rolling
3839

3940
We test compiling with ``clang`` as well as ``gcc`` and use the following
4041
OpenSSL releases in addition to distribution provided releases from the

0 commit comments

Comments
 (0)