@@ -492,3 +492,28 @@ jobs:
492492 # triage
493493 ./cppcheck $selfcheck_options $cppcheck_options -DQ_MOC_OUTPUT_REVISION=67 -DQT_CHARTS_LIB --library=qt -Itools/triage/temp -Igui tools/triage/*.cpp tools/triage/temp/*.cpp || ec=1
494494 exit $ec
495+
496+ # TODO: make these selfchecks a triggerable action
497+ - name : Self check (.json)
498+ if : false
499+ run : |
500+ selfcheck_options="-q -j$(nproc) --template=selfcheck --showtime=top5 -D__GNUC__ --error-exitcode=1 --inline-suppr --suppressions-list=.selfcheck_suppressions --library=gnu --inconclusive --enable=style,performance,portability,warning,missingInclude,internal --exception-handling --debug-warnings --check-level=exhaustive"
501+ cppcheck_options="-D__CPPCHECK__ --library=cppcheck-lib"
502+ more_options="-DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --library=qt"
503+ ./cppcheck $selfcheck_options $cppcheck_options $more_options --project=cmake.output/compile_commands.json
504+
505+ - name : Self check (.sln)
506+ if : false
507+ run : |
508+ selfcheck_options="-q -j$(nproc) --template=selfcheck --showtime=top5 -D__GNUC__ --error-exitcode=1 --inline-suppr --suppressions-list=.selfcheck_suppressions --library=gnu --inconclusive --enable=style,performance,portability,warning,missingInclude,internal --exception-handling --debug-warnings --check-level=exhaustive"
509+ cppcheck_options="-D__CPPCHECK__ --library=cppcheck-lib"
510+ more_options="-DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --library=qt"
511+ ./cppcheck $selfcheck_options $cppcheck_options $more_options --project=cppcheck.sln
512+
513+ - name : Self check (.cppcheck)
514+ if : false
515+ run : |
516+ selfcheck_options="-q -j$(nproc) --template=selfcheck --showtime=top5 -D__GNUC__ --error-exitcode=1 --inline-suppr --suppressions-list=.selfcheck_suppressions --library=gnu --inconclusive --enable=style,performance,portability,warning,missingInclude,internal --exception-handling --debug-warnings --check-level=exhaustive"
517+ cppcheck_options="-D__CPPCHECK__ --library=cppcheck-lib"
518+ more_options="-DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --library=qt"
519+ ./cppcheck $selfcheck_options $cppcheck_options $more_options --project=cppcheck.cppcheck
0 commit comments