[Spice-devel] [PATCH spice-streaming-agent] Update .gitlab-ci.yml
Uri Lublin
uril at redhat.com
Thu Feb 28 09:27:32 UTC 2019
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 at redhat.com>
Acked-by: Uri Lublin <uril 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}
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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list