[gnome-shell/wip/fmuellner/more-ci] ci: Build gnome-shell



commit b5e4ed0162e2268247ec5f031feb859200013c5a
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Feb 12 17:53:42 2019 +0100

    ci: Build gnome-shell

 .gitlab-ci.yml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07c9144af..29f60ad1f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
 stages:
  - source_check
+ - build
 
 variables:
     JS_LOG: "js-report.txt"
@@ -16,3 +17,21 @@ js_check:
         paths:
             - ${JS_LOG}
         when: on_failure
+
+build:
+    image: registry.gitlab.gnome.org/gnome/mutter/master:v1
+    stage: build
+    before_script:
+        - dnf install -y evolution-data-server-devel gjs-devel
+        - git clone https://gitlab.gnome.org/GNOME/mutter.git
+        - cd mutter
+        - MUTTER_BRANCH=`git branch -l $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME`
+        - MUTTER_BRANCH=${MUTTER_BRANCH:-master}
+        - git checkout $MUTTER_BRANCH
+        - meson . build
+        - ninja -C build
+        - ninja -C build install
+    script:
+        - meson . build -Dbuiltype=debugoptimized --werror
+        - ninja -C build
+        - ninja -C build install


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