Skip to content

Commit 5570be3

Browse files
authored
ci: use manylinux_2_28 for aarch64 cross-compilation (#12)
manylinux2014 has old GCC that doesn't define __ARM_ARCH for aarch64, breaking the ring crate build. manylinux_2_28 (AlmaLinux 8) has modern GCC 8+ toolchain. Requires glibc 2.28+ which is fine for Python 3.9+.
1 parent 6b2e3b0 commit 5570be3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-please.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ jobs:
6868
target: x86_64-pc-windows-msvc
6969
# Cross-compilation - must specify Python versions explicitly
7070
# (cross containers don't have discoverable Python interpreters)
71+
# Uses manylinux_2_28 for modern GCC (fixes ring crate aarch64 build)
7172
- os: ubuntu-latest
7273
target: aarch64-unknown-linux-gnu
7374
interpreter: -i python3.9 -i python3.10 -i python3.11 -i python3.12 -i python3.13
75+
manylinux: "2_28"
7476
runs-on: ${{ matrix.os }}
7577
steps:
7678
- uses: actions/checkout@v4
@@ -95,7 +97,7 @@ jobs:
9597
with:
9698
target: ${{ matrix.target }}
9799
args: --release --out dist ${{ matrix.interpreter }}
98-
manylinux: auto
100+
manylinux: ${{ matrix.manylinux || 'auto' }}
99101
rust-toolchain: stable
100102

101103
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)