Add .gitlab-ci.yml file

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
Eduardo Lima (Etrunko) 2018-05-17 10:10:30 -03:00 committed by Frediano Ziglio
parent a84f868e48
commit 95743f40a2

18
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,18 @@
image: fedora:latest
before_script:
- >
dnf install 'dnf-command(copr)' git libtool make libasan
python3 python3-six python3-pyparsing glib-networking
-y
- dnf copr enable @spice/nightly -y
- dnf builddep spice -y
makecheck:
script:
- >
CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920'
LDFLAGS='-fsanitize=address -lasan'
./autogen.sh --enable-extra-checks --enable-celt051
- make
- make check || (cat tests/test-suite.log && exit 1)