Commit 45ca2195 authored by Matthias Clasen's avatar Matthias Clasen

ci: Add a test run under asan

This is largely copied from what GTK does.
parent ac19ed05
Pipeline #213298 canceled with stages
in 2 minutes and 14 seconds
stages:
- build
- analysis
- docs
- deploy
......@@ -9,7 +10,7 @@ variables:
MESON_TEST_TIMEOUT_MULTIPLIER: 2
linux-fedora:
image: registry.gitlab.gnome.org/gnome/pango/fedora:v1
image: registry.gitlab.gnome.org/gnome/pango/fedora:v2
stage: build
variables:
EXTRA_MESON_FLAGS: "--buildtype=debug --default-library=both"
......@@ -31,6 +32,28 @@ linux-fedora:
- "${CI_PROJECT_DIR}/_build/hello.png"
- "${CI_PROJECT_DIR}/_build/fontlist.txt"
asan-build:
image: registry.gitlab.gnome.org/gnome/pango/fedora:v2
tags: [ asan ]
stage: analysis
variables:
script:
- CC=clang meson --buildtype=debugoptimized -Db_sanitize=address -Db_lundef=false -Dintrospection=false _build
- ninja -C _build
- .gitlab-ci/run-tests.sh _build
allow_failure: true
artifacts:
when: always
reports:
junit:
- "${CI_PROJECT_DIR}/_build/report.xml"
name: "gtk-${CI_COMMIT_REF_NAME}"
paths:
- "${CI_PROJECT_DIR}/_build/meson-logs"
- "${CI_PROJECT_DIR}/_build/report.xml"
- "${CI_PROJECT_DIR}/_build/hello.png"
- "${CI_PROJECT_DIR}/_build/fontlist.txt"
msys2-mingw64:
stage: build
tags:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment