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
Notes: sideshowbarker 2024-07-18 17:40:06 +09:00

View file

@ -188,8 +188,8 @@ jobs:
sudo apt-get purge -y clang-10 clang-11
sudo apt-get update
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 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 100
if: ${{ runner.os == 'Linux' }}
- name: Install macOS dependencies
run: brew install ninja