diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2019-06-11 10:48:39 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2019-06-13 09:06:05 +0100 |
commit | 4394cc97331096864cd7f251133c58a28d331cbe (patch) | |
tree | 766ed7cd358ba30a18589ceabcecf5c8e0679bf1 /.gitlab-ci.yml | |
parent | 0002d1a93c9842c3148e9876d072481fc884b70f (diff) |
ci: Add test for 32 bit CentOS 7
Make sure the project compile and pass tests without problems
on a 32 bit architecture.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Uri Lublin <uril@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e21ea97d..6e5204af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -97,6 +97,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 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: |