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




commit f552738de1c9068e1a20f0c57b792504e8b28b3f
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..1140edc66 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
+  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]