From 13288d956b0aef0427acffcaa6019a30f089fa6d Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 20 May 2021 23:01:09 +0100 Subject: [PATCH] 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. --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index dfef0bdbb0c..b32b24807bc 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -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