[Spice-devel] [PATCH spice-streaming-agent] Update .gitlab-ci.yml
Snir Sheriber
ssheribe at redhat.com
Thu Feb 28 08:48:19 UTC 2019
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 at redhat.com>
> ---
> .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:
More information about the Spice-devel
mailing list