From 8b8e1723868b8a5e4d12150c4ab074a184b20872 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Thu, 1 Sep 2022 17:06:18 +0200 Subject: [PATCH] update(.circleci): re-enabled cppcheck Signed-off-by: Leonardo Grasso --- .circleci/config.yml | 1 + cmake/modules/static-analysis.cmake | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 72ca9abae1a..8fc0b08e888 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -754,6 +754,7 @@ workflows: - "build-musl" - "build-arm64" - "build-centos7" + - "quality-static-analysis" - "tests-integration": requires: - "build-centos7" diff --git a/cmake/modules/static-analysis.cmake b/cmake/modules/static-analysis.cmake index 0d8152f63d7..c4954022f41 100644 --- a/cmake/modules/static-analysis.cmake +++ b/cmake/modules/static-analysis.cmake @@ -25,11 +25,10 @@ else() "--force" "--inconclusive" "--inline-suppr" # allows to specify suppressions directly in source code - "--project=${CMAKE_CURRENT_BINARY_DIR}/compile_commands.json" # use the compilation database as source - "--quiet" "--xml" # we want to generate a report "--output-file=${CMAKE_CURRENT_BINARY_DIR}/static-analysis-reports/cppcheck/cppcheck.xml" # generate the report under the reports folder in the build folder "-i${CMAKE_CURRENT_BINARY_DIR}"# exclude the build folder + "${CMAKE_SOURCE_DIR}" ) endif() # CPPCHECK