[Spice-devel] [PATCH spice-common] ci: Build also using Meson
Eduardo Lima (Etrunko)
etrunko at redhat.com
Thu Jun 21 14:01:46 UTC 2018
I just sent a similar patch, and yours looks simpler, while mine builds
with asan just like make does.
I will send a v2 with both mine and your changes together.
On 21/06/18 09:04, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> .gitlab-ci.yml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> Results example at
> https://gitlab.freedesktop.org/freddy77/spice-common/-/jobs/4906
>
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index d1288ec..665e836 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -4,6 +4,7 @@ before_script:
> - >
> dnf install 'dnf-command(copr)' git libtool make libasan
> python3 python3-six python3-pyparsing glib-networking
> + meson python3-devel
> -y
> - dnf copr enable @spice/nightly -y
> - dnf builddep spice -y
> @@ -16,3 +17,9 @@ makecheck:
> ./autogen.sh --enable-extra-checks --enable-celt051
> - make
> - make check || (cat tests/test-suite.log && exit 1)
> +
> +makecheck-meson:
> + script:
> + - meson build || (cat build/meson-logs/meson-log.txt && exit 1)
> + - ninja -C build
> + - cd build && meson test
>
--
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com
More information about the Spice-devel
mailing list