Closed JohnsterID closed 2 days ago
@JohnsterID Could you explain what this does?
@RecursiveVision Enables cppcheck CI so people can easily load and check cppcheck static analysis. It was previously added on https://github.com/LoneGazebo/Community-Patch-DLL/pull/8652 but removed to solve cppcheck not completing.
https://www.thegeekdiary.com/cppcheck-a-static-analysis-tool-for-c-c-code/
@JohnsterID Doesn't seem to be working? Failed during this commit.
@RecursiveVision The workflow was using concurrency option to stop current run if a newer run is starting so process never completes if there are heaps of commits. We need at least one run to complete before trying the concurrency option. Fixed https://github.com/LoneGazebo/Community-Patch-DLL/pull/11074.
The build log is currently extremely large due to the same 36 unused function warnings being repeated for every single file. It's hard to find the actually useful warnings. Is there a setting to ignore those included files?
First runs will be slow to build the cache. Place the artifact cppcheck.xml in local source directory to view in cppcheck.
Could be improved, e.g. second job doesn't run if analysis was completed in first job.