ci: add MinGW cross-compilation in GHA
authorDavid Marchand <david.marchand@redhat.com>
Fri, 6 May 2022 11:57:36 +0000 (13:57 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 9 May 2022 07:08:18 +0000 (09:08 +0200)
commit2261dbe944c8fe109ee94c42dd55831f3ca87169
treef0ff51b3be5613dfc4498f18514eec6b460b5278
parent8fd9b631ad57c9c210436681324bab01e6600172
ci: add MinGW cross-compilation in GHA

Add mingw cross compilation in our public CI so that users with their
own github repository have a first level of checks for Windows compilation
before submitting to the mailing list.
This does not replace our better checks in other entities of the CI.

Only the helloworld example is compiled (same as what is tested in
test-meson-builds.sh).

Note: the mingw cross compilation toolchain (version 5.0) in Ubuntu
18.04 was broken (missing a ENOMSG definition).

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Aaron Conole <aconole@redhat.com>
.ci/linux-build.sh
.github/workflows/build.yml