gitlab CI: add a JUnit XML report for scan-build
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 11 May 2021 04:26:27 +0000 (14:26 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 12 May 2021 03:31:42 +0000 (13:31 +1000)
commit5dc000323d27c175182597ea45149218e361dc83
tree575244b34f613d662f5fbb87ff98e37dfe76143b
parentb1c9667acafeb77f8e5bfa9c7880c979ca6ad738
gitlab CI: add a JUnit XML report for scan-build

Use a scan-build wrapper to generate plist files, then parse those into a
JUnit xml format. This makes the errors appear on the main MR page as opposed
to being hidden in the artifacts somewhere.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
.gitlab-ci.yml
.gitlab-ci/ci.template
.gitlab-ci/scanbuild-plist-to-junit.py [new file with mode: 0755]
.gitlab-ci/scanbuild-wrapper.sh [new file with mode: 0755]