[Spice-devel] [PATCH spice-common] ci: Run tests on Windows using wine
Christophe Fergeau
cfergeau at redhat.com
Mon Dec 17 09:23:02 UTC 2018
Hey, I'm assuming these tests are currently successful?
If yes,
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
On Sun, Dec 16, 2018 at 05:57:55PM +0000, Frediano Ziglio wrote:
> As spice-common is used by spice-gtk which should run on Windows
> even spice-common should compile and run on Windows so check it
> with CI.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> .gitlab-ci.yml | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 0919cc3..92df9b5 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -26,3 +26,19 @@ meson-makecheck:
> meson build -Dextra-checks=true -Dcelt051=enabled || (cat build/meson-logs/meson-log.txt && exit 1)
> - ninja -C build
> - (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1)
> +
> +make-win:
> + script:
> + - >
> + dnf install mingw64-gcc mingw64-pkg-config mingw64-pixman mingw64-openssl
> + mingw64-opus mingw64-spice-protocol mingw64-glib2 mingw64-glib-networking mingw64-gdk-pixbuf
> + 'wine-core(x86-64)'
> + -y
> + - NOCONFIGURE=yes ./autogen.sh
> + - >
> + PYTHON=python3
> + CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920'
> + LDFLAGS='-fsanitize=address -lasan'
> + mingw64-configure --enable-extra-checks --disable-celt051
> + - make
> + - make LOG_COMPILER=wine check || (cat tests/test-suite.log && exit 1)
> --
> 2.17.2
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20181217/f7fca593/attachment.sig>
More information about the Spice-devel
mailing list