Skip to content

Commit d95a2d5

Browse files
committed
ci(cli): separate blocking cppcheck checks
2 parents 5d05c5c + 6de5cfd commit d95a2d5

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

‎.github/workflows/cli-strict-ci.yml‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,13 +662,13 @@ jobs:
662662
-p build-analysis \
663663
"${CLI_SOURCES[@]}"
664664
665-
- name: Run cppcheck on CLI code
665+
- name: Run blocking cppcheck checks
666666
shell: bash
667667
run: |
668668
set -euxo pipefail
669669
670670
cppcheck \
671-
--enable=warning,performance,portability \
671+
--enable=warning,portability \
672672
--std=c++20 \
673673
--inconclusive \
674674
--error-exitcode=2 \
@@ -678,6 +678,22 @@ jobs:
678678
include/ \
679679
src/
680680
681+
- name: Report cppcheck performance findings
682+
shell: bash
683+
continue-on-error: true
684+
run: |
685+
set -uxo pipefail
686+
687+
cppcheck \
688+
--enable=performance \
689+
--std=c++20 \
690+
--inconclusive \
691+
--suppress=missingIncludeSystem \
692+
--suppress=syntaxError \
693+
--inline-suppr \
694+
include/ \
695+
src/
696+
681697
- name: Upload analysis diagnostics
682698
if: failure()
683699
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)