CI: Also apt-get purge clang-11 in build_and_test_lagom step

We don't need it. A recent change to the ubuntu-20.04 image has made it
the default, causing builds to fail - we're installing and want to use
clang-12 anyway, so let's just get rid of the other installed versions.
This commit is contained in:
Linus Groh 2021-05-20 23:01:09 +01:00
parent 943f4eb287
commit 13288d956b

View file

@ -185,7 +185,7 @@ jobs:
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main"
sudo apt-get purge -y clang-10
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