[vala/wip/ci: 8/12] ci: Add ubuntu:devel run with clang and address-sanitizer




commit d89755562586cf285e16fa251c00a2f75ce6127f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Feb 6 22:35:48 2021 +0100

    ci: Add ubuntu:devel run with clang and address-sanitizer

 .gitlab-ci.yml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e6ea0d825..1238126a4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,6 +25,25 @@ fedora-gcc-x86_64:
       - "doc/internal-apis"
     expire_in: 2 days
 
+ubuntu-clang-asan:
+  stage: build
+  image: ubuntu:devel
+  except:
+    - tags
+  variables:
+    CC: clang
+    DEBIAN_FRONTEND: noninteractive
+  before_script:
+    - apt update
+    - apt install -y automake autoconf-archive libtool bison dbus flex clang git libglib2.0-dev 
libgraphviz-dev libgirepository1.0-dev lcov xsltproc make valac
+  script:
+    - git fetch --tags
+    - ./autogen.sh --enable-test-asan
+    - make -j4
+    - make -j4 bootstrap
+    - make -j4 check VERBOSE=1
+  allow_failure: true
+
 ubuntu-clang-x86_64:
   stage: build
   image: ubuntu:devel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]