Skip to content

Commit 6a4c485

Browse files
committed
CI-unixish.yml: added (disabled) self-checks with all available project imports [skip ci]
1 parent ab9def9 commit 6a4c485

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/CI-unixish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,3 +556,28 @@ jobs:
556556
# triage
557557
./cppcheck $selfcheck_options $cppcheck_options -DQ_MOC_OUTPUT_REVISION=67 -DQT_CHARTS_LIB --library=qt -Icmake.output/tools/triage -Igui tools/triage/*.cpp cmake.output/tools/triage || ec=1
558558
exit $ec
559+
560+
# TODO: make these selfchecks a triggerable action
561+
- name: Self check (.json)
562+
if: false
563+
run: |
564+
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"
565+
cppcheck_options="-D__CPPCHECK__ --library=cppcheck-lib"
566+
more_options="-DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --library=qt"
567+
./cppcheck $selfcheck_options $cppcheck_options $more_options --project=cmake.output/compile_commands.json
568+
569+
- name: Self check (.sln)
570+
if: false
571+
run: |
572+
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"
573+
cppcheck_options="-D__CPPCHECK__ --library=cppcheck-lib"
574+
more_options="-DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --library=qt"
575+
./cppcheck $selfcheck_options $cppcheck_options $more_options --project=cppcheck.sln
576+
577+
- name: Self check (.cppcheck)
578+
if: false
579+
run: |
580+
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"
581+
cppcheck_options="-D__CPPCHECK__ --library=cppcheck-lib"
582+
more_options="-DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --library=qt"
583+
./cppcheck $selfcheck_options $cppcheck_options $more_options --project=cppcheck.cppcheck

0 commit comments

Comments
 (0)