diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2019-05-17 12:31:05 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2019-05-17 14:15:59 -0500 |
commit | 7c7ceb1dd42cc711d0bc847d192beaaca3d6c510 (patch) | |
tree | 6ecb26b945d2084ddb73e06611396e35352dba45 /.gitlab-ci.yml | |
parent | 8822144305577a81f332167c4bba83387ee75430 (diff) | |
download | glib-networking-7c7ceb1dd42cc711d0bc847d192beaaca3d6c510.tar.gz |
CI: run tests under asan only once
LeakSanitizer is crashing occasionally on the CI. Let's reduce the odds
of this happening by running the tests under asan only once per run.
Additionally, let's be a bit less aggressive with repeating the tests to
try to finish more quickly.
Sort of fixes #86
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c97f7db..b949f31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,8 +2,21 @@ image: registry.gitlab.gnome.org/gnome/glib-networking/master:v3 fedora-x86_64: script: + # Sadly, GCC 9's LeakSanitizer is quite crashy, #86. + # So we will run our tests under asan only once. + - meson -Db_sanitize=address + -Dgnutls=enabled + -Dopenssl=enabled + -Dlibproxy=enabled + -Dgnome_proxy=enabled + -Dwerror=true + build/ + - ninja -C build/ + - meson test -v -C build/ + - rm -rf build/ + + # Now again, this time without asan. We will additionally test installation. - meson --prefix=$HOME/glib-networking-installed - -Db_sanitize=address -Dgnutls=enabled -Dopenssl=enabled -Dlibproxy=enabled @@ -11,7 +24,7 @@ fedora-x86_64: -Dwerror=true build/ - ninja -C build/ - - meson test -v -C build/ --repeat=1000 + - meson test -v -C build/ --repeat=500 - meson install -C build/ artifacts: paths: |