mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Avoid clang-tidy checks duplication
This commit is contained in:
parent
e098770ba2
commit
c34b0f90d7
2 changed files with 2 additions and 8 deletions
|
@ -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)/'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue