1
0
forked from mirrors/0ad

Add cppcheck workflow

Add a workflow for linting and add a cppcheck job.

The job is using cppcheck provided by package manager. Existing errors
are suppressed to get going with CI linting, ideally tho the suppression
list would be empty. Some of the suppressed errors are only found with
more recent cppcheck than what is available in the runner.

Also remove old arclint cppcheck setup.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2025-01-16 19:40:00 +01:00
parent 387ea927ac
commit 6da4e606d4
9 changed files with 195 additions and 52 deletions
+3
View File
@@ -28,6 +28,9 @@ archives/
build/bin/
source/tools/spirv/rules.*.json
# Linting
cppcheck-error.log
# Files generated by running premake5
build/premake/.gccmachine.tmp
build/premake/.gccver.tmp