[CI] Add cppcheck job

This commit is contained in:
Julius Künzel
2025-10-11 23:19:40 +02:00
parent 9d4fe003fa
commit 9df6998d96
3 changed files with 7 additions and 1 deletions

3
.gitignore vendored
View File

@@ -20,3 +20,6 @@ compile_commands.json
# VSCode
.vscode/
# Artefacts from running KDE CI locally
kde-ci-reports/*

View File

@@ -8,6 +8,8 @@ include:
- /gitlab-templates/reuse-lint.yml
- /gitlab-templates/xml-lint.yml
- /gitlab-templates/pre-commit.yml
# Quality checks
- /gitlab-templates/cppcheck.yml
# CI Qt6
- /gitlab-templates/linux-qt6.yml
- /gitlab-templates/linux-qt6-next.yml

View File

@@ -47,5 +47,6 @@ RuntimeDependencies:
Options:
require-passing-tests-on: [ 'Linux/Qt6', 'FreeBSD/Qt6']
cppcheck-arguments: '--suppress="*:tests/fakeit.hpp" --suppress="*:tests/catch.hpp" --suppress="*:fuzzer/fakeit_standalone.hpp"'
require-cppcheck-clean: False
per-test-timeout: 120