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

GitHub Actions: MSYS2 workflow #2011

Merged
merged 2 commits into from
Aug 10, 2023
Merged

GitHub Actions: MSYS2 workflow #2011

merged 2 commits into from
Aug 10, 2023

Conversation

jonas-ott
Copy link
Contributor

@jonas-ott jonas-ott commented Mar 24, 2023

Windows build with MSYS2 using https://github.com/marketplace/actions/setup-msys2.
In comparison to the CMake-Windows workflow, it uses GCC instead of MSVC and installing glib2 is way faster.

Would have caught #1998.
On top of #1999, so the build doesn't fail.

This changes _MSC_VER with PLATFORM_WINDOWS macro to check Windows
platform. _MSC_VER is specific for MSVC toolchain and not defined
in mingw based toolchain. So, this fixes compilation in later one.

bd4c56c introduces the issue.
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

Successfully merging this pull request may close these issues.

None yet

4 participants