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




commit 0bcd6888423c172d29cfefb971d6ee1a7ae5ac0c
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 2c49389c7..639408ced 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-asan
+    - make -j4
+    - make -j4 bootstrap
+    - make -j4 check
+  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]