Avoid clang-tidy checks duplication

This commit is contained in:
elsid 2025-03-30 19:55:41 +02:00
parent e098770ba2
commit c34b0f90d7
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40
2 changed files with 2 additions and 8 deletions

View file

@ -6,11 +6,5 @@ Checks: >
-clang-analyzer-cplusplus.NewDeleteLeaks,
-clang-analyzer-core.CallAndMessage,
-modernize-avoid-bind
WarningsAsErrors: >
-*,
portability-*,
clang-analyzer-*,
-clang-analyzer-optin*,
-clang-analyzer-cplusplus.NewDeleteLeaks,
-clang-analyzer-core.CallAndMessage
WarningsAsErrors: '*'
HeaderFilterRegex: '(apps|components)/'

View file

@ -38,7 +38,7 @@ fi
if [[ $CI_CLANG_TIDY ]]; then
CMAKE_CONF_OPTS+=(
-DCMAKE_CXX_CLANG_TIDY="clang-tidy;--warnings-as-errors=*"
-DCMAKE_CXX_CLANG_TIDY=clang-tidy
-DBUILD_COMPONENTS_TESTS=ON
-DBUILD_OPENMW_TESTS=ON
-DBUILD_OPENCS_TESTS=ON