Use manylinux Docker container instead of zigbuild for x64 Linux

This gets us glibc 2.28 without using `cargo zigbuild`, which is not compatible with PGO.
This commit is contained in:
Jakub Beránek 2025-04-15 14:48:57 +02:00
parent d9b61b3382
commit 4b5126e8b8
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

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