[libgda] CI: reducing number of stages using broadwayd



commit 486fd4730e8c682b872b409f5d857478f7bb359e
Author: Daniel Espinosa <esodan gmail com>
Date:   Sat Jun 30 09:58:32 2018 -0500

    CI: reducing number of stages using broadwayd
    
    broadwayd allows test UI applications without X/Wayland
    so build and test can be archived in one stage.

 .gitlab-ci.yml | 26 +++-----------------------
 1 file changed, 3 insertions(+), 23 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 23ffabb2d..c944fa187 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,6 @@ image: ubuntu:devel
 
 stages:
      - build
-     - check
 
 variables:
   DEPENDENCIES: gcc gettext gtk-doc-tools make autoconf
@@ -40,14 +39,8 @@ autotools_build:
   script:
   - ./autogen.sh
   - make
-  - make install
-
-autotools_check:
-  stage: check
-  script:
-  - ./autogen.sh --without-ui --enable-gdaui-gi=no
-  - make
-  - make check
+  - broadwayd &
+  - GDK_BACKEND=broadway make check
   - make install
   artifacts:
     when: on_failure
@@ -67,19 +60,6 @@ meson_build:
   - meson _build
   - cd _build
   - ninja
-  - cd ..
-  artifacts:
-    when: on_failure
-    paths:
-    - _build/meson-logs/meson-log.txt
-    expire_in: 1 week
-
-meson_check:
-  stage: check
-  script:
-  -  meson _build
-  - cd _build
-  - ninja
   - broadwayd &
   - meson test
   - cd ..
@@ -87,4 +67,4 @@ meson_check:
     when: on_failure
     paths:
     - _build/meson-logs/meson-log.txt
-    expire_in: 1 week
\ No newline at end of file
+    expire_in: 1 week


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