]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
.gitlab-ci.yml: do not inline strcmp in valgrind build
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 1 Nov 2019 13:04:27 +0000 (14:04 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 1 Nov 2019 14:39:39 +0000 (15:39 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
.gitlab-ci.yml

index ffa7960d4209bdf04320a21e7414a54b8d7c057a..a754c569740a8404ff1a1c5b8924d3e1e0105775 100644 (file)
@@ -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: