Skip to content

Commit 53bbd97

Browse files
committed
refs #12358 - CI-unixish.yml: added step which checks for AST and ValueFlow changes [skip ci]
1 parent a674741 commit 53bbd97

File tree

2 files changed

+16749
-0
lines changed

2 files changed

+16749
-0
lines changed

.github/workflows/CI-unixish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,14 @@ jobs:
613613
# compile with verification and ast matchers
614614
make -j$(nproc) -s CPPFLAGS="-DCHECK_INTERNAL" CXXOPTS="-g -O2 -w -DHAVE_BOOST" MATCHCOMPILER=yes VERIFY=1
615615
616+
- name: Self check (output)
617+
run: |
618+
wget https://github.com/danmar/simplecpp/archive/refs/tags/1.5.1.tar.gz
619+
tar xvf 1.5.1.tar.gz
620+
# TODO: should include --verbose but identifiers in output differ on each run
621+
./cppcheck -q --std=c++11 --template=selfcheck -D__GNUC__ --error-exitcode=1 --library=gnu --inconclusive --exception-handling --check-level=exhaustive --debug --debug-template simplecpp-1.5.1/simplecpp.cpp > selfcheck.res
622+
diff -u selfcheck.exp selfcheck.res
623+
616624
- name: CMake
617625
run: |
618626
cmake -S . -B cmake.output -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DWITH_QCHART=On -DBUILD_TRIAGE=On -DUSE_MATCHCOMPILER=Verify -DENABLE_CHECK_INTERNAL=On -DCPPCHK_GLIBCXX_DEBUG=Off -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DDISABLE_DMAKE=On

0 commit comments

Comments
 (0)