From ce21e3fa9945ce03f54583981e4d87fede424f94 Mon Sep 17 00:00:00 2001 From: Alexey Lapshin Date: Fri, 6 Feb 2026 13:35:40 +0700 Subject: [PATCH] fix(ci): check all components using static analyzer --- .gitlab/ci/pre_check.yml | 11 ----------- .gitlab/ci/static-code-analysis.yml | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitlab/ci/pre_check.yml b/.gitlab/ci/pre_check.yml index 49c3920ebd..574b4024c8 100644 --- a/.gitlab/ci/pre_check.yml +++ b/.gitlab/ci/pre_check.yml @@ -191,17 +191,6 @@ baseline_manifest_sha: expire_in: 1 week when: always -gcc_static_analyzer: - extends: - - .pre_check_template - - .rules:build - variables: - CI_CCACHE_DISABLE: 1 - ANALYZING_APP: "examples/get-started/hello_world" - script: - - echo "CONFIG_COMPILER_STATIC_ANALYZER=y" >> ${ANALYZING_APP}/sdkconfig.defaults - - idf-build-apps build -p ${ANALYZING_APP} - retry_failed_jobs: extends: - .pre_check_template diff --git a/.gitlab/ci/static-code-analysis.yml b/.gitlab/ci/static-code-analysis.yml index 15eabc1598..7ea4023531 100644 --- a/.gitlab/ci/static-code-analysis.yml +++ b/.gitlab/ci/static-code-analysis.yml @@ -16,6 +16,17 @@ clang_tidy_check: --limit-file tools/ci/static-analysis-rules.yml --xtensa-include-dir +gcc_static_analyzer: + extends: + - .pre_check_template + - .rules:patterns:clang_tidy + variables: + CI_CCACHE_DISABLE: 1 + ANALYZING_APP: "examples/get-started/hello_world" + script: + - echo "CONFIG_COMPILER_STATIC_ANALYZER=y" >> ${ANALYZING_APP}/sdkconfig.defaults + - sed -i 's/.*MINIMAL_BUILD.*//g' ${ANALYZING_APP}/CMakeLists.txt + - idf-build-apps build -p ${ANALYZING_APP} # ## build stage ## Sonarqube related jobs put here for this reason: