File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,12 @@ jobs:
3131 run : |
3232 sudo apt-get update
3333 sudo apt-get install -y libdb-dev curl autoconf automake m4 libtool
34- - name : Install clang-format 20
34+ - name : Install clang-format from LLVM
3535 run : |
36- # Download pre-built binary directly
37- cd /tmp
38- wget https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.1/clang+llvm-20.1.1-x86_64-linux-gnu-ubuntu-22.04.tar.xz
39- tar xf clang+llvm-20.1.1-x86_64-linux-gnu-ubuntu-22.04.tar.xz
40- sudo cp clang+llvm-20.1.1-x86_64-linux-gnu-ubuntu-22.04/bin/clang-format /usr/local/bin/clang-format
36+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
37+ sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main"
38+ sudo apt-get update
39+ sudo apt-get install -y clang-format
4140 clang-format --version
4241 - name : Install Re2c
4342 run : |
You can’t perform that action at this time.
0 commit comments