mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
.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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user