Closed quyykk closed 1 year ago
@quyykk how do you think this should work for run-cmake
?
workflowPreset
, a string, which when it's set, the action runs cmake --workflow --preset <name>
. workflowPreset
is set, the buildPreset
and configurePreset
inputs are disregarded (with a warning message).workflowPresetAdditionalArgs
input useful? Any input is appreciated, thanks!
One way would be to add a new input called
workflowPreset
, a string, which when it's set, the action runscmake --workflow --preset <name>
.
yeah. Does it makes sense to pass --fresh
as well (it cleans any build files)?
When
workflowPreset
is set, thebuildPreset
andconfigurePreset
inputs are disregarded (with a warning message).
makes sense
Is a
workflowPresetAdditionalArgs
input useful?
The only potential argument to pass is --fresh
, so probably not?
@quyykk solved in https://github.com/lukka/run-cmake/releases/tag/v10.3, let me know if this works for you!
CMake 3.25 adds a new preset, the workflow preset, which is very useful in CI because it describes an arbitrary sequence of build and test (and package) presets.
Thanks!