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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user