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

Eduardo Lima (Etrunko) etrunko at redhat.com
Fri Apr 27 19:25:42 UTC 2018


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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 77762f1..696d3cf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,12 @@
 image: fedora:latest
 
 before_script:
-  - dnf install 'dnf-command(copr)' git libtool make pyparsing redhat-rpm-config -y
+  - dnf -y install 'dnf-command(copr)' 'dnf-command(config-manager)'
+  - dnf config-manager --set-enabled updates-testing
+  - dnf install git libtool make pyparsing redhat-rpm-config meson ninja-build python3 python3-six python3-pyparsing python3-devel mesa-libEGL-devel -y
   - dnf copr enable @spice/nightly -y
   - dnf builddep spice-gtk -y
+  - ln -sf /usr/bin/python3 /usr/bin/python #FIXME?
 
 makecheck:
   script:
@@ -11,6 +14,12 @@ makecheck:
   - make -j4
   - make check
 
+makecheck-meson:
+  script:
+  - meson build -Dintrospection=false #FIXME
+  - ninja -C build
+  - cd build && meson test
+
 makecheck_simple:
   script:
   - ./autogen.sh --enable-static
@@ -26,3 +35,18 @@ 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
+                -Dintrospection=false #FIXME
+  - ninja -C build
+  - cd build && meson test
-- 
2.14.3



More information about the Spice-devel mailing list