[libadwaita/wip/exalm/asan] ci: Add an asan job




commit e4c73c2a129a790518f6e53d1c85e623aae3bbf4
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Jan 17 17:33:24 2022 +0500

    ci: Add an asan job

 .gitlab-ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3871ea10..12a738f4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,6 +63,24 @@ refresh-doc:
   script:
     - "curl -X POST -F token=${PAGES_TRIGGER_TOKEN} -F ref=pages 
https://gitlab.gnome.org/api/v4/projects/14079/trigger/pipeline";
 
+asan:
+  image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
+  stage: build
+  tags:
+    - flatpak
+  variables:
+    MESON_ARGS: >-
+      -Dintrospection=disabled
+      -Db_sanitize=address
+      --werror
+    ASAN_OPTIONS: fast_unwind_on_malloc=0
+    LSAN_OPTIONS: suppressions=../data/leak-suppress.txt
+  script:
+    - flatpak-builder --user --disable-rofiles-fuse --build-only flatpak_app ${MANIFEST_PATH}
+    - flatpak build flatpak_app meson --prefix=/app ${MESON_ARGS} _build
+    - flatpak build flatpak_app ninja -C _build
+    - flatpak build flatpak_app meson test -C _build -t10
+
 nightly:
   extends: '.publish_nightly'
   dependencies: ['build-flatpak']


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]