commit: 1d5710d982105b42809f9cccb65a06d56470f196
parent: 83c164ea8d065cdfb5584abe2c5b1081865bfa30
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 15 Dec 2019 19:35:29 +0100
.gitlab-ci.yml: Add scan-build
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -6,6 +6,7 @@ before_script:
stages:
- lint
- build
+ - analysis
make:
stage: build
@@ -20,3 +21,11 @@ format:
- pacman -Syu --noconfirm git
- make format
- git diff --exit-code
+
+scan-build:
+ stage: analysis
+ script:
+ - scan-build -o scan-build make
+ artifacts:
+ paths:
+ - scan-build