[Spice-devel] [PATCH spice-gtk] ci: Compile with MingW
Frediano Ziglio
fziglio at redhat.com
Mon Oct 1 10:17:06 UTC 2018
Make sure the code can compile using MingW.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
.gitlab-ci.yml | 8 ++++++++
1 file changed, 8 insertions(+)
Results at
https://gitlab.freedesktop.org/fziglio/spice-gtk/pipelines/5099
(this branch included a patch for memmem issue).
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 706ea9c0..5294efce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,3 +57,11 @@ makecheck_simple-meson:
-Ddbus=false || (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 -y mingw64-gcc mingw64-pkg-config mingw64-pixman mingw64-openssl mingw64-gtk3 mingw64-json-glib mingw64-opus mingw64-gstreamer1-plugins-base mingw64-gstreamer1-plugins-good
+ - (cd spice-protocol && make clean && mingw64-configure --prefix=/usr && make install)
+ - NOCONFIGURE=yes ./autogen.sh
+ - PYTHON=python3 mingw64-configure --enable-static
+ - make -j4
--
2.17.1
More information about the Spice-devel
mailing list