[Spice-devel] [PATCH spice-server 1/2] ci: Run an additional make check using Centos
Frediano Ziglio
fziglio at redhat.com
Wed Jul 11 08:06:07 UTC 2018
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
More information about the Spice-devel
mailing list