ci: Run clang scan-build test as part of CI

This commit is contained in:
Benjamin Berg
2020-05-04 14:16:06 +02:00
committed by Benjamin Berg
parent 9db89e00d0
commit 0a08a6a7c0
3 changed files with 22 additions and 0 deletions

View File

@@ -24,3 +24,4 @@
umockdev
uncrustify
valgrind
clang-analyzer

4
.gitlab-ci/scan-build Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
# This wrapper just disables the malloc checker
exec /usr/bin/scan-build -disable-checker unix.Malloc "$@"