[gnome-shell/wip/fmuellner/more-ci] ci: Install dependencies
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/more-ci] ci: Install dependencies
- Date: Tue, 12 Feb 2019 17:52:51 +0000 (UTC)
commit 7fd0bec8bbeb0a1f8c7425c793591337e92b8786
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Feb 12 18:45:11 2019 +0100
ci: Install dependencies
.gitlab-ci.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ccf3565ea..140d87bb8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,12 +23,18 @@ 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 -y gnome-shell
+ - dnf remove -y mutter
+ # 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]