gitlab-ci: Add 32bit MinGW jobs using MSYS2
commit995f75cdd79d5e293d18b0d551fc3d9d9639a19e
authorChristoph Reiter <creiter@src.gnome.org>
Thu, 22 Feb 2018 18:37:16 +0000 (22 19:37 +0100)
committerChristoph Reiter <creiter@src.gnome.org>
Wed, 25 Apr 2018 15:23:49 +0000 (25 17:23 +0200)
tree7abea3d97d96a5513e5bbae2d0baef135d0c3fd0
parent06d61434c9ec22accfcb0fe2bb7e991d540f9df9
gitlab-ci: Add 32bit MinGW jobs using MSYS2

This builds glib using meson/ninja/ccache with mingw-w64 on a Windows
machine.

The CI scripts expect a gitlab runner to exist with the "win32" tag
which uses the default "cmd" shell by default.

Before running the tests pacman is invoked to update the system
(potentially including bash etc, thus the extra step)
Then a login shell is started with CHERE_INVOKING to not change the
cwd and finally the test script is executed.

https://bugzilla.gnome.org/show_bug.cgi?id=793729
.gitlab-ci.yml
.gitlab-ci/test-msys2.sh [new file with mode: 0755]