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-cplusplus.NewDeleteLeaks,
|
||||||
-clang-analyzer-core.CallAndMessage,
|
-clang-analyzer-core.CallAndMessage,
|
||||||
-modernize-avoid-bind
|
-modernize-avoid-bind
|
||||||
WarningsAsErrors: >
|
WarningsAsErrors: '*'
|
||||||
-*,
|
|
||||||
portability-*,
|
|
||||||
clang-analyzer-*,
|
|
||||||
-clang-analyzer-optin*,
|
|
||||||
-clang-analyzer-cplusplus.NewDeleteLeaks,
|
|
||||||
-clang-analyzer-core.CallAndMessage
|
|
||||||
HeaderFilterRegex: '(apps|components)/'
|
HeaderFilterRegex: '(apps|components)/'
|
||||||
|
|
|
@ -38,7 +38,7 @@ fi
|
||||||
|
|
||||||
if [[ $CI_CLANG_TIDY ]]; then
|
if [[ $CI_CLANG_TIDY ]]; then
|
||||||
CMAKE_CONF_OPTS+=(
|
CMAKE_CONF_OPTS+=(
|
||||||
-DCMAKE_CXX_CLANG_TIDY="clang-tidy;--warnings-as-errors=*"
|
-DCMAKE_CXX_CLANG_TIDY=clang-tidy
|
||||||
-DBUILD_COMPONENTS_TESTS=ON
|
-DBUILD_COMPONENTS_TESTS=ON
|
||||||
-DBUILD_OPENMW_TESTS=ON
|
-DBUILD_OPENMW_TESTS=ON
|
||||||
-DBUILD_OPENCS_TESTS=ON
|
-DBUILD_OPENCS_TESTS=ON
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue