[Spice-devel] [PATCH spice-gtk 4/4] ci: Try Meson dist
Frediano Ziglio
fziglio at redhat.com
Mon May 20 07:39:47 UTC 2019
Make sure Meson is able to generate a correct tarball.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
.gitlab-ci.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a6cb2cda..5ddb4db8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -82,6 +82,12 @@ fedora-meson:
script:
- meson --buildtype=release build-default
+ # Meson does not update submodules recursively
+ - git submodule update --init --recursive
+ # this fix an issue with Meson dist
+ - if ! test -r ../spice-common.git; then DIR=`basename "$PWD"`; ln -s "$DIR/.git/modules/spice-common" ../spice-common.git; fi
+ - rm -rf meson-dist
+ - ninja -C build-default dist
- ninja -C build-default
- ninja -C build-default test
--
2.20.1
More information about the Spice-devel
mailing list