Commit 1fe87617 authored by Victor Toso's avatar Victor Toso Committed by Frediano Ziglio

gitlab-ci: remove copr dependency

Instead of relying in copr builds, we should rely on relative branch
in gitlab for spice dependencies such as spice-protocol.

This patch moves the dependencies to a variable and builds
spice-protocol instead of using spice-protocol from nightly spice
copr.
Signed-off-by: Victor Toso's avatarVictor Toso <victortoso@redhat.com>
Acked-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
parent bfb61364
image: fedora:latest
variables:
DEPS_COMMON: git libtool make python3 python3-six redhat-rpm-config
bzip2 python3-pyparsing meson ninja-build gtk-doc glib2-devel
gettext gettext-devel libpciaccess-devel alsa-lib-devel
libXfixes-devel libX11-devel libXrandr-devel libXinerama-devel
gtk3-devel dbus-devel systemd-devel
before_script:
- >
dnf install 'dnf-command(copr)' git libtool make redhat-rpm-config bzip2
python3 python3-six python3-pyparsing
-y
- dnf copr enable @spice/nightly -y
- dnf builddep spice-vdagent -y
- dnf install -y $DEPS_COMMON
- git clone https://gitlab.freedesktop.org/spice/spice-protocol.git
- (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
make-check-distcheck:
script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment