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




commit 7a68f03ec3e71c9797ebf293cc3e038fa05aeb4e
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 | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e6ea0d825..bbee2eac8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,6 +25,26 @@ 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
+    LSAN_OPTIONS: verbosity=1:log_threads=1
+  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]