ci: Run an additional make check using Centos

Make sure we can compile and run base tests using latest Centos.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
Frediano Ziglio 2018-06-20 18:19:25 +01:00
parent 014e4d7263
commit 65eca77c81

View File

@ -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)