]> granicus.if.org Git - graphviz/commitdiff
Add ubuntu21-04-cmake-ASan-build job to CI
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Thu, 29 Apr 2021 21:44:27 +0000 (23:44 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 10 May 2021 17:21:44 +0000 (19:21 +0200)
.gitlab-ci.yml

index c7e2736080accf82ee1267dcbd5d7ee3acce30b1..ac4c3536032f594d6f7e914d325833c87a8aea26 100644 (file)
@@ -421,6 +421,25 @@ ubuntu21-04-cmake-build:
     variables:
       IMAGE: ubuntu-21.04
 
+ubuntu21-04-cmake-ASan-build:
+    <<: *deb_build_definition
+    needs:
+        - job: docker_build_ubuntu-21.04
+          artifacts: false
+        - job: portable-source
+          artifacts: true
+    before_script:
+        - export build_system="cmake"
+        # fail on any compiler warnings
+        - export CFLAGS=-Werror
+        - export CXXFLAGS=-Werror
+        - export CMAKE_OPTIONS="-Duse_sanitizers=ON"
+        - echo experimental > COLLECTION
+    tags:
+        - linux
+    variables:
+      IMAGE: ubuntu-21.04
+
 centos7-cmake-build:
     <<: *rpm_build_definition
     needs: