summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-02-20 13:32:37 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-02-20 16:35:38 +0100
commit5873d38c46b22a41fe19f4cd70cc1a977961c686 (patch)
tree422b97dd961c8eb7094b399c00165353f1d7b7c9 /.gitlab-ci.yml
parent8f936fbe6634d31dc8d6751fd11fa6201d47eb74 (diff)
downloadgnutls-5873d38c46b22a41fe19f4cd70cc1a977961c686.tar.gz
.gitlab-ci.yml: replaced clang's build with clang analyser's scan-build
This introduces a static analyser pass in the CI. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml43
1 files changed, 22 insertions, 21 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a13bcddc36..089df6638d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -165,27 +165,6 @@ no-SSL-3.0/Fedora/x86_64:
- build/*.log
- build/tests/*/*.log
-clang/Fedora/x86_64:
- stage: stage2-testing
- image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
- script:
- - CC=clang ./configure --disable-non-suiteb-curves --enable-seccomp-tests --disable-doc --disable-guile --disable-valgrind-tests &&
- make -j$(nproc) && make check -C tests -j$(nproc)
- tags:
- - shared
- except:
- - tags
- dependencies:
- - init/Fedora/x86_64
- artifacts:
- expire_in: 1 week
- when: on_failure
- paths:
- - ./*.log
- - guile/tests/*.log
- - tests/*.log
- - tests/*/*.log
-
FIPS140-2/Fedora/x86_64:
stage: stage2-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
@@ -287,6 +266,28 @@ asan/Fedora/x86_64:
- tests/*.log
- tests/*/*.log
+clang-analyzer/Fedora/x86_64:
+ stage: stage2-testing
+ image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
+ script:
+ - scan-build ./configure --disable-doc --disable-guile
+ - rm -rf scan-build
+ - make -j$(nproc) -C gl
+ - scan-build --status-bugs -o scan-build-lib make -j$(nproc) -C lib
+ - scan-build --status-bugs -o scan-build-libdane make -j$(nproc) -C libdane
+ tags:
+ - shared
+ except:
+ - tags
+ dependencies:
+ - init/Fedora/x86_64
+ artifacts:
+ expire_in: 1 week
+ when: on_failure
+ paths:
+ - scan-build-lib/*
+ - scan-build-libdane/*
+
MinGW32/DLLs:
stage: stage2-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD