[Spice-devel] [PATCH spice-common 1/3] Update gitlab-ci to use meson
Eduardo Lima (Etrunko)
etrunko at redhat.com
Thu Jun 21 13:42:23 UTC 2018
Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
---
.gitlab-ci.yml | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d1288ec..2f9ec4d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,15 @@
image: fedora:latest
before_script:
- - >
- dnf install 'dnf-command(copr)' git libtool make libasan
- python3 python3-six python3-pyparsing glib-networking
+ - dnf -y install 'dnf-command(copr)' 'dnf-command(config-manager)'
+ - dnf config-manager --set-enabled updates-testing
+ - dnf install
+ git libtool make libasan python3 python3-devel python3-six
+ python3-pyparsing meson ninja-build gdk-pixbuf2-devel
-y
- dnf copr enable @spice/nightly -y
- dnf builddep spice -y
+ - ln -sf /usr/bin/python3 /usr/bin/python #FIXME?
makecheck:
script:
@@ -16,3 +19,12 @@ makecheck:
./autogen.sh --enable-extra-checks --enable-celt051
- make
- make check || (cat tests/test-suite.log && exit 1)
+
+meson-makecheck:
+ script:
+ - >
+ CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920'
+ LDFLAGS='-fsanitize=address -lasan'
+ meson build -Dextra-checks=true -Dcelt501=true
+ - ninja -C build
+ - cd build && meson test
--
2.14.4
More information about the Spice-devel
mailing list