]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
build: Do not enable ASAN for musl CI pipelines
authorGuillem Jover <guillem@hadrons.org>
Wed, 29 Mar 2023 07:35:27 +0000 (09:35 +0200)
committerGuillem Jover <guillem@hadrons.org>
Wed, 29 Mar 2023 07:35:27 +0000 (09:35 +0200)
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

index e701ddabba6db6dd4c9d3acb70b222bdc9751525..9e117f23945145824c736f3b782f5c5ec06d8ae3 100644 (file)
@@ -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]