Skip to content

Commit

Permalink
CI: Fix clang-tidy installation on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer committed Sep 29, 2020
1 parent 76fbd1e commit 79ff812
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ jobs:
- name: Install (Ubuntu)
if: runner.os == 'Linux'
run: |
# TODO: Remove once https://github.com/actions/virtual-environments/issues/1536 is resolved.
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key 2>/dev/null | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/focal llvm-toolchain-focal-10 main' -y
sudo apt-get update -q
sudo apt-get install -y --no-install-recommends ninja-build clang-tidy-10
sudo ln -s /usr/bin/clang-tidy-10 /usr/local/bin/clang-tidy
Expand Down

0 comments on commit 79ff812

Please sign in to comment.