Merge pull request #19586 from Kobzol/manylinux-instead-of-zigbuild

Use a Docker container instead of Zig for building with old(er) glibc on x64 Linux
This commit is contained in:
Laurențiu Nicola 2025-04-15 14:10:13 +00:00 committed by GitHub
commit a6e7f0747e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,9 @@ jobs:
code-target: win32-arm64
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
zig_target: x86_64-unknown-linux-gnu.2.28
# Use a container with glibc 2.28
# Zig is not used because it doesn't work with PGO
container: quay.io/pypa/manylinux_2_28_x86_64
code-target: linux-x64
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
@ -71,6 +73,12 @@ jobs:
with:
node-version: 22
- name: Install rustup
if: ${{ matrix.container }}
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install Rust toolchain
run: |
rustup update --no-self-update stable