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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 .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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]