From f35a94dcf6403c6a893bc145ec5ecc20b0343fe3 Mon Sep 17 00:00:00 2001 From: Martin Uecker Date: Sun, 29 Sep 2024 18:22:01 +0200 Subject: [PATCH] add -Werror and analyzer build to CI --- .gitlab-ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 241499a..3fc410d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,12 +23,24 @@ stages: Build: stage: build script: - - make all + - CFLAGS="-Werror" make all artifacts: paths: - view - cfl2png +Build_Analyzer: + stage: build + script: + - CFLAGS="-fanalyzer -Werror" DEBUG=0 make all + artifacts: + paths: + - view + - cfl2png + expire_in: 45 minutes + allow_failure: true + + Test_cfl2png: stage: test script: