Prepare CMake base CI job for new CMake CI jobs
Description
This MR updates the CI CMake template job .cmake_compile_test
as a preparation for moving more CI jobs to CMake.
- Introduce additional variables to control job execution
- Use CMake presets only for configure (the rest is much easier done in the CI configuration; we would need a separate build/test preset for each configure preset with the only change being the build directory)
-
..._EXTRA_ARGS
variables will be used by selected jobs later (currently they are undefined -> empty when interpreted by the shell) - existing jobs are adjusted to work with the new template job; they should be removed in later MRs once they have been replicated
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.