[PATCH spice-server v6 19/19] ci: Add test for Windows using MingW

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

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 .gitlab-ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9ce95c00..f5ee963c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,3 +87,21 @@ makecheck-centos:
     ./autogen.sh --enable-celt051
   - make
   - make -C server check || (cat server/tests/test-suite.log && exit 1)
+
+# Same as makecheck job but use Windows build
+makecheck-windows:
+  script:
+  - >
+    dnf install -y
+    wine-core.x86_64 mingw64-gcc-c++
+    mingw64-openssl mingw64-glib2 mingw64-glib-networking mingw64-libjpeg-turbo
+    mingw64-pixman mingw64-opus mingw64-winpthreads mingw64-zlib
+    mingw64-gstreamer1-plugins-base mingw64-gstreamer1-plugins-good mingw64-orc
+  - cd spice-protocol
+  - mingw64-configure
+  - mingw64-make install
+  - cd ..
+  - NOCONFIGURE=yes ./autogen.sh
+  - mingw64-configure --disable-celt051
+  - mingw64-make
+  - mingw64-make LOG_COMPILE=wine -C server check || (cat server/tests/test-suite.log && exit 1)
-- 
2.20.1

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