[Spice-devel] [PATCH spice-gtk] ci: Compile with MingW

Marc-André Lureau marcandre.lureau at gmail.com
Mon Oct 1 11:04:25 UTC 2018


On Mon, Oct 1, 2018 at 2:17 PM Frediano Ziglio <fziglio at redhat.com> wrote:
>
> Make sure the code can compile using MingW.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>

ack
thanks!

> ---
>  .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
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel



-- 
Marc-André Lureau


More information about the Spice-devel mailing list