[PATCH spice-gtk v2 2/2] Update gitlab-ci to use meson

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx>
---
 .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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]