mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Update clang-tidy workflow
This commit is contained in:
parent
961652c2e9
commit
094c433e58
2 changed files with 7 additions and 4 deletions
|
@ -3,11 +3,11 @@
|
|||
cmake -B build -DCMAKE_BUILD_TYPE=Debug \
|
||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
||||
-DRUN_IN_PLACE=TRUE \
|
||||
-DENABLE_{GETTEXT,SOUND}=FALSE \
|
||||
-DENABLE_GETTEXT=FALSE \
|
||||
-DBUILD_SERVER=TRUE
|
||||
cmake --build build --target GenerateVersion
|
||||
|
||||
./util/ci/run-clang-tidy.py \
|
||||
-clang-tidy-binary=clang-tidy-9 -p build \
|
||||
-clang-tidy-binary=$CLANG_TIDY -p build \
|
||||
-quiet -config="$(cat .clang-tidy)" \
|
||||
'src/.*'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue