Skip to content
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

Linux based Docker image for cross-compilation in CI (non-GitHub) #210

Open
AvtechScientific opened this issue Jun 22, 2022 · 1 comment

Comments

@AvtechScientific
Copy link

It would be nice if you could create a Linux based docker image that contains MSYS2 and could be used in CI other than GitHub. For example in GitLab, etc.. It would be a more generic approach. You might derive it from Debian, Fedora or Arch Linux (that has the same package manager as MSYS2). It could be used without requiring a Windows virtual machine. Here is an example on how a Fedora docker image is used to cross-compile a GTK application for Windows (without requiring Windows).

https://github.com/manisandro/gImageReader/blob/master/.github/workflows/build.yml

Maybe you can use Wine or add packages like it was done in the above mentioned Fedora based approach.

Thank you very much!

PS: maybe it is possible already to use MSYS2 in GitLab CI without requiring Windows but I miss it?

@lazka
Copy link
Member

lazka commented Mar 3, 2023

MSYS2 requires Windows, so I don't see how we could provide something like that.

MSYS2/Cygwin doesn't run under Wine, so that's not an option: https://www.msys2.org/docs/faq/#how-can-i-get-msys2-running-under-wine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants