Skip to content

CI: add MSVC build and fix building with MSVC - #907

Merged
bicarus-dev merged 2 commits into
spice2x:mainfrom
mon:msvc_ci
Sep 7, 2026
Merged

bicarus-dev merged 2 commits into
spice2x:mainfrom
mon:msvc_ci

Conversation

@mon

@mon mon commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Yess yessss let's continue supporting the worst compiler toolchain 😈

Fell out of the changes in #905

CI changes were claude because I cannot be arsed with yaml.

Can explain the individual code fixes if ya want any more context.

mon and others added 2 commits September 7, 2026 09:26
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mon

mon commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

Also yeah, MSVC has been broken at least since the github repo got source back in March last year. Personally I would want to just drop support for it entirely because we're in The Future and mingw and docker ain't so bad, but the changes aren't that bad I guess.

@mon

mon commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

In that case (and considering nobody else noticed MSVC was broken in over a year), perhaps it's better to eject MSVC considering it introduces extra bugs of its own?

Could potentially introduce a new build.ps1/build.bat for windows that uses either the official llvm-mingw toolchain on windows or my hacked up XP version, which is a whole lot easier to understand than docker.

@mon

mon commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

Yeah that's fair. In which case, keep it compatible

@bicarus-dev
bicarus-dev merged commit de466db into spice2x:main Sep 7, 2026
3 checks passed
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.

1 participant