I've set up a Windows VM as gitlab runner which I use with pygobject now: https://gitlab.gnome.org/GNOME/pygobject/pipelines/3862 and I have a branch for glib: https://gitlab.gnome.org/creiter/glib/pipelines/3871
- It's tagged as "win32", so only jobs tagged get run by it, so it shouldn't affect any existing CI.
- It currently has only MSYS2 installed and no MSVC etc.
- It runs Windows Server 2012 R2
Compared to the docker runners it has persistent state, so msys2 packages installed in one run will exist in the next one etc. Theoretically using the virtualbox executor I could spin up a fixed Windows snapshot from a Linux server, I might look into that in the future.(edit: I saw that I can run a script after the build, so resetting things there should work)
I was wondering if it could be made a shared one.