[Spice-commits] .gitlab-ci.yml

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 25 09:23:50 UTC 2018


 .gitlab-ci.yml |   20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

New commits:
commit df5d1aa2f53183aa3c5270a09f6b258e3c18ca10
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Tue Sep 25 12:35:58 2018 +0400

    gitabl-ci: fix CI build
    
    I broke gitlab CI in commit f61534d by introducing json-glib
    dependency. Instead of depending on dnf builddep, list the build
    dependencies explicitly.
    
    Remove copr usage, that fails from time to time. Install
    spice-protocol from git.
    
    Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e5e90af..706ea9c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,20 @@
 image: fedora:latest
 
+variables:
+  DEPS: git libtool make python3 python3-six redhat-rpm-config
+        python3-pyparsing meson ninja-build zlib-devel openssl-devel
+        intltool gtk3-devel gtk-doc gobject-introspection-devel
+        cyrus-sasl-devel pulseaudio-libs-devel libjpeg-turbo-devel
+        libacl-devel gstreamer1-devel gstreamer1-plugins-base-devel
+        polkit-devel vala lz4-devel opus-devel libgudev-devel
+        pixman-devel libcacard-devel celt051-devel libphodav-devel
+        usbutils usbredir-devel libusbx-devel libsoup-devel
+        json-glib-devel
+
 before_script:
-  - >
-    dnf install 'dnf-command(copr)' git libtool make redhat-rpm-config
-    python3 python3-six python3-pyparsing meson ninja-build
-    -y
-  - dnf copr enable @spice/nightly -y
-  - dnf builddep spice-gtk -y
+  - dnf install -y $DEPS
+  - git clone ${CI_REPOSITORY_URL/spice-gtk/spice-protocol}
+  - (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
 
 makecheck:
   script:


More information about the Spice-commits mailing list