[glib/wip/hadess/add-memory-monitor: 1/2] ci: Add dependencies for newer installed tests



commit 8e16dcab6e7e83e092e7565aef47adc5e2ba6627
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Dec 4 14:40:39 2019 +0100

    ci: Add dependencies for newer installed tests

 .gitlab-ci.yml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d49aff5f7..fd8f052a1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -94,6 +94,9 @@ installed-tests:
   extends: .only-default
   image: registry.gitlab.gnome.org/gnome/glib/fedora:v5
   stage: build
+  before_script:
+    # FIXME move to docker image
+    - sudo dnf install -y gnome-desktop-testing python3-dbusmock xdg-desktop-portal
   script:
     # dtrace is disabled because it breaks the static-link.py test
     - meson ${MESON_COMMON_OPTIONS}
@@ -106,6 +109,28 @@ installed-tests:
             _build
     - ninja -C _build
     - sudo ninja -C _build install
+    # FIXME install libportal
+    - git clone https://github.com/flatpak/libportal.git
+    - cd libportal/
+    - meson ${MESON_COMMON_OPTIONS} _build --prefix=/usr --libdir=/usr/lib64
+    - ninja -C _build
+    - sudo ninja -C _build install
+    - cd ..
+    # FIXME Install newer xdg-desktop-portal
+    - sudo dnf install -y autoconf automake gettext-devel libtool diffutils fontconfig-devel json-glib-devel 
geoclue2-devel pipewire-devel fuse-devel make
+    - git clone --single-branch --branch wip/hadess/memory-monitor 
https://github.com/flatpak/xdg-desktop-portal.git
+    - cd xdg-desktop-portal
+    - ./autogen.sh --prefix=/usr --libdir=/usr/lib64 --disable-dependency-tracking && make && sudo make 
install
+    # FIXME install newer gobject-introspection
+    - sudo dnf install -y meson flex bison python3-devel
+    - git clone --single-branch --branch wip/hadess/add-memory-monitor 
https://gitlab.gnome.org/GNOME/gobject-introspection.git
+    - cd gobject-introspection
+    - /usr/bin/meson ${MESON_COMMON_OPTIONS} _build --prefix=/usr --libdir=/usr/lib64
+    - ninja -C _build
+    - sudo ninja -C _build install
+    - cd ..
+    # FIXME Update python-dbusmock
+    - sudo dnf install -y 
https://kojipkgs.fedoraproject.org//work/tasks/2365/39162365/python3-dbusmock-0.18.3-2.fc31.noarch.rpm
     # FIXME: Add update until stable https://bodhi.fedoraproject.org/updates/FEDORA-2019-161b129d4d
     - sudo dnf upgrade -y --enablerepo=updates-testing --advisory=FEDORA-2019-161b129d4d
     - GLIB_TEST_COMPILATION=1 gnome-desktop-testing-runner


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