ci: Use BuildJet Ubuntu 20.04 runners for better glibc compatibility (#18442)
Use BuildJet Ubuntu 20.04 runners. - Linux arm64 unchanged (glibc >= 2.35) - Linux x64 glibc requirement becomes to >= 2.31 (from glibc >= 2.35). Note: Ubuntu 20.04 repo cmake (3.16.3) is normally too old to build Zed, but `ubuntu-2004` [includes cmake 3.30.3](https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-Readme.md#tools).
This commit is contained in:
parent
09424edc35
commit
432de00e89
5 changed files with 56 additions and 9 deletions
14
script/linux
14
script/linux
|
@ -20,19 +20,29 @@ if [[ -n $apt ]]; then
|
|||
libwayland-dev
|
||||
libxkbcommon-x11-dev
|
||||
libssl-dev
|
||||
libstdc++-12-dev
|
||||
libzstd-dev
|
||||
libvulkan1
|
||||
libgit2-dev
|
||||
make
|
||||
cmake
|
||||
clang
|
||||
mold
|
||||
jq
|
||||
gettext-base
|
||||
elfutils
|
||||
libsqlite3-dev
|
||||
)
|
||||
# Ubuntu 20.04 / Debian Bullseye (including CI for release)
|
||||
if grep -q "bullseye" /etc/debian_version; then
|
||||
deps+=(
|
||||
libstdc++-10-dev
|
||||
)
|
||||
else
|
||||
deps+=(
|
||||
libstdc++-12-dev
|
||||
mold
|
||||
)
|
||||
fi
|
||||
|
||||
$maysudo "$apt" update
|
||||
$maysudo "$apt" install -y "${deps[@]}"
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue