Re: [PATCH spice-gtk 4/4] ci: Try Meson dist

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

 



On 5/20/19 10:39 AM, Frediano Ziglio wrote:
Make sure Meson is able to generate a correct tarball.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
  .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

Autotools do not do that either, it's done in the autogen.sh script

+    - 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

That's weird. It does work for me locally.
It is expected that ../spice-common.git would be relative to 'origin'.

+    - rm -rf meson-dist
+    - ninja -C build-default dist

Note, that the generated tarball does not contain a configure script.
This is probably expected as autotools are not used, but I wanted
to emphasize that the two tarballs are different.

Uri.

      - ninja -C build-default
      - ninja -C build-default test

_______________________________________________
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]