clang-tidy: Disable WarningsAsErrors in regular builds

This commit is contained in:
Eduardo Almeida
2022-10-28 15:56:22 +01:00
parent fd6b26332f
commit 135ed46b7d
2 changed files with 3 additions and 2 deletions

View File

@@ -43,4 +43,3 @@ Checks: >
FormatStyle: "file"
HeaderFilterRegex: ".*h$"
WarningsAsErrors: "*"

View File

@@ -24,7 +24,9 @@ clang-tidy:
clang-tidy-14
script:
- ./ns3 configure --enable-examples --enable-tests --enable-clang-tidy
- run-clang-tidy-14 -p cmake-cache/ -quiet 1> clang-tidy-errors.log 2> /dev/null || true
- run-clang-tidy-14 -p cmake-cache/ -quiet
1> clang-tidy-errors.log
2> /dev/null
- (! egrep -A 3 "error:|warning:" clang-tidy-errors.log)
- echo "No clang-tidy errors found"
artifacts: