mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
CI: Update alternatives for llvm-symbolizer on Ubuntu jobs
Swift jobs were failing a test due to the llvm-symbolizer not being available in the default location next to the clang binary. swift.org toolchains don't ship this tool, so LSAN suppressions were not being applied, failing TestWOFF2. This was hard to reproduce locally, because I have always had a set of alternatives set up for the full suite of LLVM tools on my machine.
This commit is contained in:
parent
cd333fe3e9
commit
e90a0dc69c
Notes:
github-actions[bot]
2025-05-28 02:34:48 +00:00
Author: https://github.com/ADKaster
Commit: e90a0dc69c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4898
1 changed files with 2 additions and 1 deletions
3
.github/actions/setup/action.yml
vendored
3
.github/actions/setup/action.yml
vendored
|
@ -41,7 +41,7 @@ runs:
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get install -y autoconf autoconf-archive automake build-essential ccache cmake curl fonts-liberation2 \
|
sudo apt-get install -y autoconf autoconf-archive automake build-essential ccache cmake curl fonts-liberation2 \
|
||||||
gcc-14 g++-14 libcurl4-openssl-dev libegl1-mesa-dev libgl1-mesa-dev libpulse-dev libssl-dev \
|
gcc-14 g++-14 libcurl4-openssl-dev libegl1-mesa-dev libgl1-mesa-dev libpulse-dev libssl-dev \
|
||||||
libstdc++-14-dev lld-20 nasm ninja-build qt6-base-dev qt6-tools-dev-tools tar unzip zip
|
libstdc++-14-dev lld-20 llvm-20 nasm ninja-build qt6-base-dev qt6-tools-dev-tools tar unzip zip
|
||||||
|
|
||||||
if ${{ inputs.toolchain == 'Clang' }} ; then
|
if ${{ inputs.toolchain == 'Clang' }} ; then
|
||||||
sudo apt-get install -y clang-20 clang++-20 clang-tools-20
|
sudo apt-get install -y clang-20 clang++-20 clang-tools-20
|
||||||
|
@ -49,6 +49,7 @@ runs:
|
||||||
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-20 100
|
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-20 100
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo update-alternatives --install /usr/bin/llvm-symbolizer llvm-symbolizer /usr/bin/llvm-symbolizer-20 100
|
||||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100
|
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100
|
||||||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100
|
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue