diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-02-20 18:57:56 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-21 08:16:56 +0100 |
commit | 619acc1e884d778591d7f4c2ca2821d2bfd6aa52 (patch) | |
tree | e591a18ee31ad0235e02e0289b39e6f1e3485e71 /.gitlab-ci.yml | |
parent | 25e26c5527aadb311db72e70cb646439840ce1e7 (diff) | |
download | gnutls-619acc1e884d778591d7f4c2ca2821d2bfd6aa52.tar.gz |
.gitlab-ci.yml: require clang analyzer build to be warning free
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 089df6638d..045f954af9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -271,10 +271,9 @@ clang-analyzer/Fedora/x86_64: 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 + - scan-build --status-bugs -o scan-build-lib make CFLAGS="-Werror -O2" -j$(nproc) -C lib + - scan-build --status-bugs -o scan-build-libdane make CFLAGS="-Werror -O2" -j$(nproc) -C libdane tags: - shared except: |