Skip to content

Commit e6bd644

Browse files
authored
VERIFY=1
And remove gui/ directory from scan
1 parent cd71bfb commit e6bd644

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/valgrind.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
sudo apt-get install libz3-dev libz3-4 libz3-4-dbgsym
3434
sudo apt-get install libc6-dbg-amd64-cross
3535
36-
- name: Build cppcheck
36+
- name: Build cppcheck debug
3737
run: |
38-
CXXFLAGS="-O1 -g" make -j$(nproc) USE_Z3=yes HAVE_RULES=yes MATCHCOMPILER=yes CPPFLAGS="-DCHECK_INTERNAL"
38+
CXXFLAGS="-O1 -g" make -j$(nproc) USE_Z3=yes HAVE_RULES=yes MATCHCOMPILER=yes CPPFLAGS="-DCHECK_INTERNAL" VERIFY=1
3939
4040
- name: Run valgrind on cppcheck self-check
4141
run: |
42-
valgrind --error-limit=yes --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --gen-suppressions=all --log-fd=9 --error-exitcode=42 ./cppcheck --enable=style,performance,portability,warning,internal --exception-handling --debug-warnings cli lib gui 9>memcheck_cppcheck.log
42+
valgrind --error-limit=yes --leak-check=full --num-callers=50 --show-reachable=yes --track-origins=yes --gen-suppressions=all --log-fd=9 --error-exitcode=42 ./cppcheck --enable=style,performance,portability,warning,internal --exception-handling --debug-warnings cli lib 9>memcheck_cppcheck.log
4343
cat memcheck_cppcheck.log
4444
4545
- uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)