[vala/wip/ci: 15/17] ci: Add ubuntu:devel run with clang and address-sanitizer
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/ci: 15/17] ci: Add ubuntu:devel run with clang and address-sanitizer
- Date: Sat, 25 Sep 2021 15:19:34 +0000 (UTC)
commit a6d005d4ae3b566de20e01a0010a7b59429eadcc
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
Requires --cap-add SYS_PTRACE
https://gitlab.com/gitlab-org/gitlab-runner/-/issues/903
.gitlab-ci.yml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 620ea2693..30fd52871 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -46,6 +46,26 @@ fedora-clang-x86_64:
- make -j4 check VERBOSE=1
allow_failure: true
+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:latest
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]