File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88jobs :
99 check-style :
10- runs-on : ubuntu-20.04
10+ runs-on : ubuntu-latest
1111 strategy :
1212 fail-fast : false
1313 steps :
1717 - name : Prepare
1818 run : |
1919 sudo apt-get update -y
20- sudo apt-get install -y pkg-config cmake cmake build-essential shellcheck clang-format
20+ sudo apt-get install -y pkg-config cmake cmake build-essential shellcheck
21+ wget https://github.com/muttleyxd/clang-tools-static-binaries/releases/download/master-46b8640/clang-format-10_linux-amd64
22+ echo "b8ed0cfc9cded28f8c0c9dd0da402d1287453b7d55a68bf243b432035aebcaa4720bfff22440d1f1c5d4c82f7b8d85948214cca85a2aa976589b88459e440521 clang-format-10_linux-amd64" | sha512sum -c
23+ mv clang-format-10_linux-amd64 ~/.local/bin/clang-format
24+ mkdir -p ~/.local/bin/
25+ chmod +x ~/.local/bin/clang-format
2126 - name : Check clang format version
2227 run : |
2328 clang-format -version # expect 10
You can’t perform that action at this time.
0 commit comments