[gnome-shell/wip/fmuellner/more-ci] ci: Install dependencies



commit ab98fbca307c7e6a16252d19273c06a970da0c2a
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Feb 12 18:45:11 2019 +0100

    ci: Install dependencies

 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ccf3565ea..c19b7bea7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,12 +23,17 @@ build:
     image: registry.gitlab.gnome.org/gnome/mutter/master:v1
     stage: build
     before_script:
-        #- dnf install -y evolution-data-server-devel gjs-devel
+        # non-mutter build dependencies
+        - dnf install -y 'dnf-command(builddep)' redhat-rpm-config
+        - dnf builddep -x mutter-devel -y gnome-shell
+        # check out mutter ...
         - git clone https://gitlab.gnome.org/GNOME/mutter.git
         - cd mutter
+        # ... either at the branch matching the MR, or master ...
         - MUTTER_BRANCH=origin/${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME:-master}
         - MUTTER_BRANCH=$(git branch -r -l $MUTTER_BRANCH)
         - git checkout ${MUTTER_BRANCH:-origin/master}
+        # ... and build it
         - meson . build -Dtests=false
         - ninja -C build
         - ninja -C build install


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