Skip to content

presets: workflow: Run multiple workflows with filtered step types

Cristian Le requested to merge LecrisUT/cmake:preset/workflow-step into master

This MR adds two functionalities:

  • Run multiple workflow presets if a comma separated list is given in --preset <preset>
  • Filter the steps to be run by their types configure/build/test/pack

Notes:

  • The type of steps are not filtered against known step types. Do we want to do such a filter check?
  • Minor cleanup of the do_workflow to use a displayHelp to trigger the help message. Is there another standard approach used for this?

TODO:

  • Sanitize the preset list if the comma separated list contains whitespace
  • Conform to coding standards and other available functions
  • Add tests

Need some help and advice on the TODOs.

This MR could be separated into 2, but there is a slight cross-reference in the documentation, so if it is separated, which one should be added first?

Closes #25332

Edited by Cristian Le

Merge request reports