[SOLVED] Force cmake to use gcc/mingw makefiles on Windows runner #7998
-
I use github action to build a binary Python module. It works by calling I've spent a few days on this, tried a bunch of settings, all of them had failed, below link is a summary for some of my attempts, together with their error logs does gcc/mingw generator work on the windows runner image? what do I need to switch to it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
never mind. figured it out. it turns out one has to install ninja via msys2 before one can set although I managed to use the setting from specifically
presumably, one could also use other packages to install ninja as well. anyways, once ninja is added, after passing |
Beta Was this translation helpful? Give feedback.
never mind. figured it out. it turns out one has to install ninja via msys2 before one can set
-GNinja
with cmake.although
cmake -G
lists Ninja, it does not mean the system has ninja system installed, it just means it can work with it. this is why I thought all generators in the printed list have already been installed.I managed to use the setting from
https://github.com/scivision/rpn-calc-fortran/blob/main/.github/workflows/ci_cmake.yml
specifically
presumably, one c…