[Spice-devel] [PATCH spice-server 1/2] ci: Run an additional make check using Centos

Christophe Fergeau cfergeau at redhat.com
Wed Jul 11 09:18:11 UTC 2018


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Wed, Jul 11, 2018 at 09:06:07AM +0100, Frediano Ziglio wrote:
> Make sure we can compile and run base tests using latest Centos.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  .gitlab-ci.yml | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index becdb28b0..50fb7a15d 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -50,3 +50,22 @@ distcheck:
>    script:
>    - ./autogen.sh --enable-celt051 --enable-manual
>    - make distcheck
> +
> +# Same as makecheck job but use a Centos image
> +makecheck-centos:
> +  before_script:
> +    - >
> +      yum install git libtool make libasan orc-devel
> +      python3 python3-six python3-pyparsing glib-networking
> +      yum-utils yum-plugin-copr
> +      -y
> +    - yum copr enable @spice/nightly -y
> +    - yum-builddep spice -y
> +  image: centos:latest
> +  script:
> +  - >
> +    CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920'
> +    LDFLAGS='-fsanitize=address -lasan'
> +    ./autogen.sh --enable-celt051
> +  - make
> +  - make -C server check || (cat server/tests/test-suite.log && exit 1)
> -- 
> 2.17.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180711/dc5309a4/attachment.sig>


More information about the Spice-devel mailing list