On 2/28/19 10:48 AM, Snir Sheriber wrote:
Passing CI (on top of the " Add copr Makefile" patch but it should not
affect the CI)
https://gitlab.com/sheriber/spice-streaming-agent/commit/2f34198f1ba74ceb47f82dfb13023c857034f16b/pipelines?ref=ci
On 2/27/19 6:00 PM, Snir Sheriber wrote:
Do not count on copr nightly for getting the dependencies
Signed-off-by: Snir Sheriber <ssheribe@xxxxxxxxxx>
Acked-by: Uri Lublin <uril@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}
Bash tricks for the win :)
Uri.
+ - (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
build_and_test:
script:
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel