Skip to content

Commit a3ee16c

Browse files
committed
selfcheck.yml: enabled UNUSEDFUNCTION_ONLY hack
1 parent 3a7e580 commit a3ee16c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/selfcheck.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
./cppcheck -q --template=selfcheck --error-exitcode=1 --library=cppcheck-lib --library=qt -D__CPPCHECK__ -D__GNUC__ -DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --enable=unusedFunction --exception-handling -rp=. --project=cmake.output/compile_commands.json --suppressions-list=.selfcheck_unused_suppressions --inline-suppr
7979
env:
8080
DISABLE_VALUEFLOW: 1
81+
UNUSEDFUNCTION_ONLY: 1
8182

8283
# the following steps are duplicated from above since setting up the build node in a parallel step takes longer than the actual steps
8384
- name: CMake (no test)
@@ -98,6 +99,7 @@ jobs:
9899
./cppcheck -q --template=selfcheck --error-exitcode=1 --library=cppcheck-lib --library=qt -D__CPPCHECK__ -D__GNUC__ -DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --enable=unusedFunction --exception-handling -rp=. --project=cmake.output.notest/compile_commands.json --suppressions-list=.selfcheck_unused_suppressions --inline-suppr
99100
env:
100101
DISABLE_VALUEFLOW: 1
102+
UNUSEDFUNCTION_ONLY: 1
101103

102104
- name: Fetch corpus
103105
run: |
@@ -126,6 +128,7 @@ jobs:
126128
head -50 callgrind.annotated.log
127129
env:
128130
DISABLE_VALUEFLOW: 1
131+
UNUSEDFUNCTION_ONLY: 1
129132

130133
- uses: actions/upload-artifact@v2
131134
with:

0 commit comments

Comments
 (0)