Closed illia-bilinskyi closed 1 year ago
@illia-bilinskyi my guess is that depends on the generator
that CMake is going to pick up at run time in the configure phase. Since you did not specify it, if CMake picks a multi-configuration generator, the CMAKE_BUILD_TYPE
is ignored.
I think you just need to ensure you are using a single-configuration CMake generator, e.g. add to the configure section:
"generator": "Ninja",
If this does not help, could you please add a link to the workflow run so that the output can be inspected in detail?
@illia-bilinskyi let me know if you solved the problem already, do not hesitate if you have questions or feedback, thanks!
Hi, I'm trying to use your routine for building my stuff in GH actions. I want to build Release, and I succeed with it on my PC without any additional flags. But the routine keeps producing Debug. It also links to debug libraries, including MSVCRT, and I have liker issues. How to explicitly configure to build Release?
Here is my presets:
And my yaml config: