Reuben Thomas <r...@sc3d.org> writes: > 1. Cross-compile from GNU/Linux, use WINE to run compiled programs. > 2. Use MSYS2 (but we don't like this) > 3. Use Cygwin with mingw packages > > My problem is that I'm trying to build and test portable packages on native > Windows. Therefore, option 1 is rather weak (it's not really testing on > Windows), option 2 is out because of MSYS2 problems, and it's not clear to > me that option 3 is going to work either.
I don't have much experience with Windows, but I find that option 3 has always worked when I have used it. > (Another problem for me is that GitHub's continuous integration service > uses MSYS2. GitHub is a convenient and powerful free-as-in-beer way to test > my packages on the systems that almost all my users use—GNU/Linux, macOS, > and Windows. It would be nice not to need a proprietary service for this, > but then I am testing on proprietary OSes.) Bruno's GitHub CI projects use cygwin/cygwin-install-action@v4, which seems pretty straight forward [1] [2]. Collin [1] https://github.com/gnu-gnulib/ci-testdir-check/tree/master [2] https://github.com/cygwin/cygwin-install-action