Skip to content

Commit a47637e

Browse files
committed
Use clang-format 13 during CI linting
1 parent fd67f46 commit a47637e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.azure.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,15 @@ stages:
2121
with_catch2: false
2222

2323
- script: |
24-
make style formatter=clang-format-12 check=1
24+
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
25+
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main" | sudo tee -a /etc/apt/sources.list.d/llvm.list
26+
27+
sudo apt-get update
28+
sudo apt-get install -y clang-format-13
29+
displayName: 'Dependencies'
30+
31+
- script: |
32+
make style formatter=clang-format-13 check=1
2533
displayName: 'Style'
2634
2735
- stage: Linux

0 commit comments

Comments
 (0)