Skip to content

Commit

Permalink
CI: Use clang-12 instead of clang-10 when building fuzzers
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alimpfard authored and linusg committed Apr 16, 2021
1 parent ba3bc6f commit 00e5af0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 https://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
Expand Down

0 comments on commit 00e5af0

Please sign in to comment.