Исправлен обобщенный запуск clang-tidy для CMake
This commit is contained in:
parent
deb42b2e49
commit
a304a9264a
@ -205,8 +205,8 @@ variables:
|
||||
if [ -n "${CUSTOM_ANALYZE_CLANG_TIDY}" ]; then
|
||||
${CUSTOM_ANALYZE_CLANG_TIDY}
|
||||
else
|
||||
cmake -DCMAKE_CXX_CLANG_TIDY="clang-tidy-14" -B ${CI_BUILD_DIR} .
|
||||
cmake --build ${CI_BUILD_DIR} --parallel
|
||||
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -B ${CI_BUILD_DIR} .
|
||||
run-clang-tidy-14 -checks=-*,bugprone-*,clang-analyzer-*,misc-*,modernize-*,performance-*,portability-* -p ${CI_BUILD_DIR}
|
||||
fi
|
||||
|
||||
.cmake-analyze-clazy:
|
||||
|
Loading…
Reference in New Issue
Block a user