[Spice-commits] .gitlab-ci.yml

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 1 13:49:49 UTC 2018


 .gitlab-ci.yml |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit a6d8c1b716bb08c69ef294fc4b8771c7edf0f5a4
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Sat Sep 29 09:45:07 2018 +0100

    ci: Compile with MingW
    
    Make sure the code can compile using MingW.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Marc-André Lureau <marcandre.lureau at gmail.com>

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 706ea9c..5294efc 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


More information about the Spice-commits mailing list