CI: Be a bit less paranoid about old compiler versions existing

We explicitly tell CMake what compiler to use. No need to remove older
versions, which was just one extra thing we needed to maintain.
This commit is contained in:
Timothy Flynn 2024-05-15 14:26:00 -04:00 committed by Andrew Kaster
parent 18f9efe92d
commit 5e34a41f06
Notes: sideshowbarker 2024-07-16 23:38:54 +09:00
2 changed files with 2 additions and 3 deletions

View file

@ -22,7 +22,6 @@ runs:
# Packages below aren't.
set -e
sudo apt-get purge -y clang-13 clang-14 clang-15 gcc-10 gcc-11 gcc-12
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main'

View file

@ -115,8 +115,8 @@ jobs:
-DENABLE_FUZZERS_LIBFUZZER=ON \
-DENABLE_ADDRESS_SANITIZER=ON \
-DSERENITY_CACHE_DIR=${{ github.workspace }}/Build/caches \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=${{ steps.build-parameters.outputs.host_cc }} \
-DCMAKE_CXX_COMPILER=${{ steps.build-parameters.outputs.host_cxx }} \
-DCMAKE_PREFIX_PATH=tool-install
# === BUILD ===