summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2021-04-16 23:46:03 +0430
committerLinus Groh <mail@linusgroh.de>2021-04-16 21:48:00 +0200
commit00e5af02be0b39fbbad0410c07fdccbea1c8488a (patch)
tree23d5336139d6860649746703bb110b4dcca233aa
parentba3bc6fef2eb8268c97f36c3bb7cbd56585cce3f (diff)
downloadserenity-00e5af02be0b39fbbad0410c07fdccbea1c8488a.zip
CI: Use clang-12 instead of clang-10 when building fuzzers
oss-fuzz uses clang-12 anyway, so this patch shouldn't be breaking anything, just letting us use more modern C++ without the CI being sad.
-rw-r--r--.github/workflows/cmake.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index c65ab0a2a6..6bceeebd34 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -182,7 +182,14 @@ jobs:
# === OS SETUP ===
#
- name: Install Ubuntu dependencies
- run: sudo apt-get install ninja-build
+ 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 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
if: ${{ runner.os == 'Linux' }}
- name: Install macOS dependencies
run: brew install ninja