summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-03-15 05:17:37 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-03-15 05:20:56 +0100
commitfe3afdf4cca08c33a8bf0a2e0e8dd719827e45ae (patch)
treeacdaf5054e0532603b195a139134ef641bbe88eb
parent0e66ed7a6b6ff797f562467ffa7312c9b8625084 (diff)
downloadgnutls-tmp-fix-werror-compilation.tar.gz
.gitlab-ci.yml: ubsan build utilizes -Werror for the librarytmp-fix-werror-compilation
That brings back the -Werror for building, after its removal from clang-analyzer build. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ee0ce620d5..f301bfce11 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -493,12 +493,15 @@ Fedora/x86:
- build/tests/*/*.log
- build/tests/suite/*/*.log
-ubsan/Fedora/x86_64:
+ubsan-Werror/Fedora/x86_64:
stage: stage2-testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- git submodule update --init
- CFLAGS="-fsanitize=undefined -fno-sanitize-recover -g -O2" LDFLAGS="-static-libubsan" ./configure --disable-valgrind-tests --disable-non-suiteb-curves --disable-guile --disable-doc
+ - make -j$(nproc) -C gl
+ - make -j$(nproc) -C lib CFLAGS="-Werror -O2 -g"
+ - make -j$(nproc) -C libdane CFLAGS="-Werror -O2 -g"
- make -j$(nproc)
- make check -j$(nproc)
tags: