[PATCH spice-streaming-agent] Update .gitlab-ci.yml

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

 



Do not count on copr nightly for getting the dependencies

Signed-off-by: Snir Sheriber <ssheribe@xxxxxxxxxx>
---
 .gitlab-ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ab1b2a3..808e3ec 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,11 @@
 image: fedora:latest
 
 before_script:
-    - >
-      dnf install -y 'dnf-command(copr)' make automake autoconf autoconf-archive libtool xz gcc-c++
-      libdrm-devel libXrandr-devel
-    - dnf copr enable @spice/nightly -y
-    - dnf builddep spice-streaming-agent -y
+    - dnf install -y git make automake autoconf autoconf-archive libtool xz
+    # get dependencies from spec file
+    - dnf install -y `sed '/^BuildRequires:/!d; s/.*://; s/\bspice-protocol\b//; s/>.*//' spice-streaming-agent.spec.in`
+    - git clone ${CI_REPOSITORY_URL/spice-streaming-agent/spice-protocol}
+    - (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
 
 build_and_test:
   script:
-- 
2.19.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]