[glibmm] CI: Don't test subprojects
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] CI: Don't test subprojects
- Date: Thu, 7 Apr 2022 13:25:55 +0000 (UTC)
commit 54f68a7652cca2d5393ee6e50e153e88bc502f45
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Thu Apr 7 15:21:56 2022 +0200
CI: Don't test subprojects
.gitlab-ci.yml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4191f63e..b21654b5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -98,7 +98,10 @@ debug_build:
# -Ddebug=true + -Doptimization=0 correspond to -Dbuildtype=debug
- meson --prefix=/usr --libdir=lib -Ddebug=true -Doptimization=0 -Dwarnings=fatal
- meson compile
- - meson test
+ # Must wrap the command in single quotes because of the colon.
+ # See https://gitlab.gnome.org/help/ci/yaml/script.md#use-special-characters-with-script
+ # Don't test subprojects.
+ - 'meson test --suite glibmm:'
- meson install
artifacts:
when: on_failure
@@ -118,7 +121,7 @@ release_gcc_10_build:
# -Ddebug=false + -Doptimization=3 correspond to -Dbuildtype=release
- CC=gcc-10 CXX=g++-10 meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal
- meson compile
- - meson test
+ - 'meson test --suite glibmm:'
- meson install
artifacts:
when: always
@@ -136,7 +139,7 @@ release_gcc_11_build:
# -Ddebug=false + -Doptimization=3 correspond to -Dbuildtype=release
- CC=gcc-11 CXX=g++-11 meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal
- meson compile
- - meson test
+ - 'meson test --suite glibmm:'
- meson install
allow_failure: true
artifacts:
@@ -157,7 +160,7 @@ release_clang_build:
# -Ddebug=false + -Doptimization=3 correspond to -Dbuildtype=release
- CC=clang CXX=clang++ meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal
- meson compile
- - meson test
+ - 'meson test --suite glibmm:'
- meson install
allow_failure: true
artifacts:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]