Skip to content

Commit

Permalink
Use clang-17 in the azure pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
benini committed Oct 28, 2023
1 parent 5f448f6 commit 3f1fcb9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,15 @@ jobs:
sudo apt-get update &&
sudo apt-get -y install tcl-dev cloc
displayName: download tclk
- script: |
wget https://apt.llvm.org/llvm.sh
chmod +x ./llvm.sh
sudo ./llvm.sh 17 all
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 200
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 200
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-17 200
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-17 200
displayName: Install newer Clang
- script: |
cloc src --exclude-dir=egtb,mtbgen,polyglot
cloc tcl --exclude-dir=lang
Expand Down

0 comments on commit 3f1fcb9

Please sign in to comment.