[Spice-devel] [PATCH spice-gtk v3 2/2] Update gitlab-ci to use meson

Eduardo Lima (Etrunko) etrunko at redhat.com
Mon Aug 6 18:23:14 UTC 2018


Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
---
 .gitlab-ci.yml | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a34eb0e..e5e90af 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ image: fedora:latest
 before_script:
   - >
     dnf install 'dnf-command(copr)' git libtool make redhat-rpm-config
-    python3 python3-six python3-pyparsing
+    python3 python3-six python3-pyparsing meson ninja-build
     -y
   - dnf copr enable @spice/nightly -y
   - dnf builddep spice-gtk -y
@@ -14,6 +14,12 @@ makecheck:
   - make -j4
   - make check
 
+makecheck-meson:
+  script:
+  - meson build || (cat build/meson-logs/meson-log.txt && exit 1)
+  - ninja -C build
+  - (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1)
+
 makecheck_simple:
   script:
   - ./autogen.sh --enable-static
@@ -29,3 +35,17 @@ makecheck_simple:
         --enable-dbus=no
   - make -j4
   - make check
+
+makecheck_simple-meson:
+  script:
+  - meson build -Dlz4=false
+                -Dgstaudio=false
+                -Dgstvideo=false
+                -Dwebdav=false
+                -Dsasl=false
+                -Dpulse=false
+                -Dsmartcard=false
+                -Dusbredir=false
+                -Ddbus=false || (cat build/meson-logs/meson-log.txt && exit 1)
+  - ninja -C build
+  - (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1)
-- 
2.14.4



More information about the Spice-devel mailing list