summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2019-11-01 14:04:27 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2019-11-01 15:39:39 +0100
commite484c69c6d59539aa62ea39e7695897a93ef7355 (patch)
tree9e014542126c2059f0a6a1cc190c07212b000527 /.gitlab-ci.yml
parent676fa3c9868cdf0bffec4f3961892843421daf5d (diff)
downloadgnutls-e484c69c6d59539aa62ea39e7695897a93ef7355.tar.gz
.gitlab-ci.yml: do not inline strcmp in valgrind build
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ffa7960d42..a754c56974 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ stages:
# name to allow expiration of old caches.
cache:
- key: "$CI_JOB_NAME-ver10"
+ key: "$CI_JOB_NAME-ver12"
paths:
- cache/
@@ -205,7 +205,8 @@ valgrind.Fedora.x86_64:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- ./bootstrap
- - dash ./configure --disable-gcc-warnings --disable-doc --cache-file cache/config.cache --disable-guile --disable-full-test-suite --enable-valgrind-tests
+# gcc in fedora31 inlines strcmp in a way that causes valgrind errors
+ - CFLAGS="-O2 -g -fno-builtin-strcmp" ./configure --disable-gcc-warnings --disable-doc --cache-file cache/config.cache --disable-guile --disable-full-test-suite --enable-valgrind-tests
- make -j$(nproc)
- make check -j$(nproc)
tags: