@@ -156,28 +156,59 @@ jobs:
156156 if : contains(matrix.os, 'ubuntu')
157157 run : |
158158 pushd gui
159- qmake HAVE_QCHART=yes
159+ qmake CONFIG+=debug HAVE_QCHART=yes
160160 make -j$(nproc)
161161
162162 - name : Run GUI tests on ubuntu
163163 if : contains(matrix.os, 'ubuntu')
164164 run : |
165+ pushd gui/test/cppchecklibrarydata
166+ qmake CONFIG+=debug
167+ make -j$(nproc)
168+ ./test-cppchecklibrarydata
169+ popd
170+ pushd gui/test/filelist
171+ qmake CONFIG+=debug
172+ make -j$(nproc)
173+ # TODO: requires X session
174+ #./test-filelist
175+ popd
165176 pushd gui/test/projectfile
166- qmake
177+ qmake CONFIG+=debug
167178 make -j$(nproc)
168179 ./test-projectfile
169180 popd
170- pushd gui/test/cppchecklibrarydata
171- qmake
181+ pushd gui/test/translationhandler
182+ qmake CONFIG+=debug
172183 make -j$(nproc)
173- ./test-cppchecklibrarydata
184+ # TODO: requires X session
185+ #./test-translationhandler
186+ popd
187+ pushd gui/test/xmlreportv2
188+ qmake CONFIG+=debug
189+ make -j$(nproc)
190+ # TODO: requires X session
191+ #./test-xmlreportv2
174192
175193 - name : Generate Qt help file on ubuntu
176194 if : contains(matrix.os, 'ubuntu')
177195 run : |
178196 pushd gui/help
179197 qhelpgenerator online-help.qhcp -o online-help.qhc
180198
199+ - name : Build triage on ubuntu
200+ if : matrix.os == 'ubuntu-20.04'
201+ run : |
202+ pushd tools/triage
203+ qmake CONFIG+=debug
204+ make -j$(nproc)
205+
206+ - name : Build Fuzzer
207+ if : matrix.os == 'ubuntu-20.04'
208+ run : |
209+ pushd oss-fuzz
210+ make -j$(nproc) CXX=clang++ CXXFLAGS="-fsanitize=address" fuzz-client translate
211+
181212 - name : Self check (build)
182213 if : matrix.os == 'ubuntu-20.04'
183214 run : |
@@ -196,18 +227,4 @@ jobs:
196227 mkdir b2
197228 ./cppcheck -q -j$(nproc) --std=c++11 --template=selfcheck --cppcheck-build-dir=b2 -D__CPPCHECK__ -DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --error-exitcode=1 --inline-suppr --suppressions-list=.travis_suppressions --library=qt --addon=naming.json -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2/ --enable=style,performance,portability,warning,missingInclude,internal --exception-handling --debug-warnings gui/*.cpp gui/temp/*.cpp
198229 # self check test and tools
199- ./cppcheck -q -j$(nproc) --std=c++11 --template=selfcheck -D__CPPCHECK__ --error-exitcode=1 --inline-suppr --suppressions-list=.travis_suppressions --library=cppcheck-lib -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2/ -Icli -Igui --inconclusive --enable=style,performance,portability,warning,missingInclude,internal --exception-handling --debug-warnings test/*.cpp tools
200-
201- - name : Build triage on ubuntu
202- if : matrix.os == 'ubuntu-20.04'
203- run : |
204- pushd tools/triage
205- qmake
206- make -j$(nproc)
207-
208- - name : Build Fuzzer
209- if : matrix.os == 'ubuntu-20.04'
210- run : |
211- pushd oss-fuzz
212- make -j$(nproc) CXX=clang++ CXXFLAGS="-fsanitize=address" fuzz-client translate
213-
230+ ./cppcheck -q -j$(nproc) --std=c++11 --template=selfcheck -D__CPPCHECK__ -DQ_MOC_OUTPUT_REVISION=67 --error-exitcode=1 --inline-suppr --suppressions-list=.travis_suppressions --library=cppcheck-lib -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2/ -Icli -Igui --inconclusive --enable=style,performance,portability,warning,missingInclude,internal --exception-handling --debug-warnings test/*.cpp tools
0 commit comments