LEARNING FUN THINGS: specifying -G Ninja for CMake in GitHub actions on Windows makes CMake default to not using Visual Studio anymore. Which is. ... Great.
Comments
Log in with your Bluesky account to leave a comment
Strangely, this ONLY happens with GitHub Actions. On my personal Windows machine it picks Visual Studio, though MAYBE that's because II've purged mingw from my machine.
Wonder what I can do about that. Maybe invoke vsdevcmd before everything kicks off...
It depends on PATH probably, GH actions Windows machines have all the compilers and things. Gotta specify CXX and point to the right cl.exe, or filter things you dont want out of PATH and what not
Comments
Wonder what I can do about that. Maybe invoke vsdevcmd before everything kicks off...