Skip to content

Commit e87ae18

Browse files
ci: use LLVM clang-format in debug job
1 parent a2b3891 commit e87ae18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ jobs:
2525
chmod +x llvm.sh
2626
sudo ./llvm.sh $LLVM_VERSION
2727
sudo apt-get update -y && sudo apt-get upgrade -y
28-
sudo apt-get -y install gcc-multilib g++-multilib clang-tidy-$LLVM_VERSION cppcheck
28+
sudo apt-get -y install gcc-multilib g++-multilib clang-tidy-$LLVM_VERSION clang-format-$LLVM_VERSION cppcheck
2929
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-$LLVM_VERSION 50
30+
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-$LLVM_VERSION 50
3031
clang-tidy --version
32+
clang-format --version
3133
- run: >
3234
cmake
3335
-B ${{ github.workspace }}/build

0 commit comments

Comments
 (0)