-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend action to support Ubuntu runner? #293
Comments
MSYS2 doesn't support running on Ubuntu, so this is nothing the github action can provide. |
I'd expect that the action provides pacman and pacman settings, so it is possible to install msys packages for mingw32, mingw64, ... |
I see. The install scripts and hooks would require something like wine though, or you somehow patch them out. |
I simply ignore the error messages from the install hooks. Typically that works fine (at least for my builds, QEMU and Tesseract OCR). |
Are you using autotools, then that's expected. Use CMake or meson for a better buildsystem and faster build-time. |
I could see someone providing a docker image based on Ubuntu as a first step (or Fedora, since they have a ucrt cross compiler toolchain) |
Yes, Fedora has a more complete selection of library packages for cross builds. |
It might sound strange, but the msys packages work nice for cross builds (targetting 32 or 64 bit Windows) on Debian / Ubuntu hosts, too. Typically a cross build on Linux is much faster than a build on Windows. While Debian and Debian based Linux distributions provide compiler packages for the cross build, they lack the required library packages. msys comes with a large collection of packages which can fill the gap. Therefore it would be great if the GitHub action could be used with the Ubuntu 22.04 runner, too.
The text was updated successfully, but these errors were encountered: