[Spice-devel] [PATCH spice-common] ci: Build also using Meson

Frediano Ziglio fziglio at redhat.com
Thu Jun 21 12:04:03 UTC 2018


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

Results example at
https://gitlab.freedesktop.org/freddy77/spice-common/-/jobs/4906

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d1288ec..665e836 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,7 @@ before_script:
   - >
     dnf install 'dnf-command(copr)' git libtool make libasan
     python3 python3-six python3-pyparsing glib-networking
+    meson python3-devel
     -y
   - dnf copr enable @spice/nightly -y
   - dnf builddep spice -y
@@ -16,3 +17,9 @@ makecheck:
     ./autogen.sh --enable-extra-checks --enable-celt051
   - make
   - make check || (cat tests/test-suite.log && exit 1)
+
+makecheck-meson:
+  script:
+  - meson build || (cat build/meson-logs/meson-log.txt && exit 1)
+  - ninja -C build
+  - cd build && meson test
-- 
2.17.1



More information about the Spice-devel mailing list