[Spice-devel] [PATCH spice-common] ci: Remove dependencies from copr build

Frediano Ziglio fziglio at redhat.com
Tue Feb 19 16:23:23 UTC 2019


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 .gitlab-ci.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

This patch also fixes the CI which currently is failing.
https://gitlab.freedesktop.org/fziglio/spice-common/pipelines/19951

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92df9b5..43f09cb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,12 +2,15 @@ image: fedora:latest
 
 before_script:
   - >
-    dnf install 'dnf-command(copr)' git libtool make libasan
+    dnf install git libtool make libasan
     python3 python3-six python3-pyparsing glib-networking
     meson ninja-build gdk-pixbuf2-devel
+    glib2-devel celt051-devel pixman-devel openssl-devel libjpeg-devel
+    libcacard-devel cyrus-sasl-devel lz4-devel opus-devel
+    gstreamer1-devel gstreamer1-plugins-base-devel
     -y
-  - dnf copr enable @spice/nightly -y
-  - dnf builddep spice -y
+  - git clone ${CI_REPOSITORY_URL/spice-common.git/spice-protocol.git}
+  - (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
 
 makecheck:
   script:
-- 
2.20.1



More information about the Spice-devel mailing list