From ca3db5e134d3a4467ab6916ba271a8d7de75661e Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 29 Mar 2023 09:35:27 +0200 Subject: [PATCH] build: Do not enable ASAN for musl CI pipelines musl-libc does not currently support ASAN, so enabling it makes configure fail to detect libmd as it cannot link to it anymore. --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e701dda..9e117f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,9 @@ .unit-tests: + script: + - ./autogen && ./configure + - make check + +.unit-tests-asan: script: - ./autogen && ./configure --enable-sanitize - make check @@ -25,7 +30,7 @@ bsd-compat-headers linux-headers libmd-dev musl-dev gcovr unit-tests:debian: - extends: [.debian, .unit-tests] + extends: [.debian, .unit-tests-asan] coverage:debian: extends: [.debian, .coverage]