Add MSYS2 (UCRT64) support and drop Bam support on Windows #32
+218
−368
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR changes a lot, in order to support MSYS2.
I wanted to use MSYS2 (mingw-w64) at first, but then I found it didn't support the feature we used in the code:
so I changed to apply ucrt64 instead.
Windows bam support was removed as bam hasn't support MSYS2 yet.
Also it's difficult to support it as it hasn't any docs to read.
Though my name is Bamcane, I still have to remove it.
But I would add it back as it supports MSYS2. :3
This PR changes how the package is built:
it now uses CPack exclusively to package the binaries.
The dynamic libraries for SDL2, FreeType, OpenGL, and OpenSSL are now included in the package.
The workflows now also build on Windows Server 2022 (the windows-latest is Windows Server 2025)