[gtkmm/kjellahl/testci] CI: Reinsert test runs



commit a7327a4f77b606705080aca3b59bdf7f6d17c108
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sat Aug 28 12:16:29 2021 +0200

    CI: Reinsert test runs

 .gitlab-ci.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aa785384..6dea379a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,6 +24,7 @@ variables:
                   glib-networking
   GIO_EXTRA_MODULES: "/usr/lib/x86_64-linux-gnu/gio/modules"
   GIT_SUBMODULE_STRATEGY: normal
+  GDK_BACKEND: wayland
 
 .build_default:
   before_script:
@@ -106,6 +107,7 @@ release_gcc_build:
   variables:
     DEPENDENCIES: $MESON_GCC_DEPS
   script:
+    - env | grep GDK
     - ninja -C libsigc/_build install
     - ninja -C glibmm/_build install
     - ninja -C cairomm/_build install
@@ -119,7 +121,7 @@ release_gcc_build:
     #   Gtk-WARNING **: 14:38:45.180: cannot open display:
     # Skip tests for now. Most test cases are not executed anyway,
     # only built by 'meson compile'.
-    # - meson test
+    - meson test
     - meson install
   cache:
     key: build-deps
@@ -142,6 +144,8 @@ release_clang_build:
   variables:
     DEPENDENCIES: $MESON_GCC_DEPS clang
   script:
+    - export GDK_BACKEND=wayland
+    - env | grep GDK
     - ninja -C libsigc/_build install
     - ninja -C glibmm/_build install
     - ninja -C cairomm/_build install
@@ -151,7 +155,7 @@ release_clang_build:
     - CC=clang CXX=clang++ meson --prefix=/usr --libdir=lib -Ddebug=false -Doptimization=3 -Dwarnings=fatal
     - meson compile
     # See comment in the release_gcc_build job.
-    # - meson test
+    - meson test
     - meson install
   allow_failure: true
   cache:


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