[Spice-devel] [PATCH spice-server 2/2] ci: Add test for 32 bit CentOS 7

Frediano Ziglio fziglio at redhat.com
Tue Jun 11 18:43:41 UTC 2019


Make sure the project compile and pass tests without problems
on a 32 bit architecture.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 .gitlab-ci.yml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 91ee47edc..7ec5ce0f0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -94,6 +94,28 @@ makecheck-centos:
   - make
   - make -C server check || (cat server/tests/test-suite.log && exit 1)
 
+# Same as makecheck job but use a Centos image
+makecheck-centos32:
+  before_script:
+    - >
+      yum install git libtool make libasan orc-devel glib-networking
+      yum-utils gcc glib2-devel spice-protocol celt051-devel
+      opus-devel pixman-devel openssl-devel libjpeg-devel
+      libcacard-devel cyrus-sasl-devel lz4-devel
+      gstreamer1-devel gstreamer1-plugins-base-devel
+      git-core pyparsing python-six
+      -y
+    - git clone ${CI_REPOSITORY_URL/spice.git/spice-protocol.git}
+    - (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
+  image: i386/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)
+
 # Same as makecheck job but use Windows build
 makecheck-windows:
   script:
-- 
2.20.1



More information about the Spice-devel mailing list