* MISRA check: add XML output
* Improve handling of cppcheck output
* Simplify - make cppcheck do more work
Now need for the script to gather source files
and run them one at a time, or flatten xml etc.
* Define the byte type - flushes out violations.
* Precaution: apply dos2unix before invoking shell script
* Restore force rename of libdivide folder
Scans on Windows Git Bash were taking way too long.
* Performance: run as many cppcheck jobs as possible
Logical CPU count - 1
* Set the build dir
Prevents temp files being left in the source tree
* Push libdivide #def into build flags
* Allow build without USE_LIBDIVIDE
* Rename libdivide folder before & after scan
It's the only way to really exclude it
* Initial creation of test action
* Fix relative directory
* Change to cppcheck v2.7
* Change script call
* Direct error count into file
* Fix env writing
* env update
* More env testing
* Another env test
* More testing
* More testing
* Yet more env testing
* Change to results count file
* Further testing
* Remove continue on error
* Force script to complete successfully
* Force create results dir
* Force set results directory
* Fix bad syntax
* Add badge to README
* Remove Azure pipelines
* Re-add cat of results file
* Add quiet option to script
* Add back missing line
* refactor: parameterize the MISRA checking script
The script contained hardcoded paths, which made it difficult
to use as part of the development workflow.
* ci!: use script relative path to pick source folder
* ci!: default output folder within source tree
* refactor: have cppcheck run the misra script
* refactor: use "rm -f" - remove existence check
* refactor: encapsulate into functions
* ci!: merge git MISRA logic into check_misra.sh
* ci!: count true errors, not style violations
* ci: use common MISRA check script
Co-authored-by: adbancroft <adbancroft@users.noreply.github.com>