1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:57:35 +00:00

CI: Bump update-alternatives priority to 100

This didn't seem to have worked in the past, the new value matches the
recomendation on the GitHub Actions clang-11 default announcement:

https://github.com/actions/virtual-environments/issues/3235
This commit is contained in:
Linus Groh 2021-05-20 23:03:30 +01:00
parent 13288d956b
commit 90e5f607bd

View file

@ -188,8 +188,8 @@ jobs:
sudo apt-get purge -y clang-10 clang-11 sudo apt-get purge -y clang-10 clang-11
sudo apt-get update sudo apt-get update
sudo apt-get install clang-12 ninja-build sudo apt-get install clang-12 ninja-build
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 60 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 60 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 100
if: ${{ runner.os == 'Linux' }} if: ${{ runner.os == 'Linux' }}
- name: Install macOS dependencies - name: Install macOS dependencies
run: brew install ninja run: brew install ninja