.gitlab-ci.yml: do not use PAM under asan

PAM tests would fail due to address sanitizer not detecting
the stack switches.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos
2018-04-14 18:24:04 +02:00
parent 0bb085de4a
commit b4bb6c2049

View File

@@ -94,12 +94,14 @@ Build/minimal:
- ./*.log
- tests/*.log
# We do not compile with PAM under address sanitizer since we are using co-routines
# without instrumentation for sanitizer.
asan/Fedora:
stage: testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
script:
- git submodule update --init && autoreconf -fvi && CFLAGS="-fsanitize=address -g -O2" LDFLAGS="-static-libasan"
./configure --without-docker-tests && make -j$(nproc) && make check -j$(nproc)
./configure --without-pam --without-docker-tests && make -j$(nproc) && make check -j$(nproc) VERBOSE=1
tags:
- shared
except: