Hi, I’m having trouble integrating CDash into my project’s CI and haven’t found any good answers, so I’m asking here.
I manage a pretty standard CI that configures, builds, and tests a CMake project for a range of configurations. This project handles the entire test setup as part of the CMakeLists.txt, there is no CTestConfig in the root folder.
How do I:
- specify the site name and build name using the command line or environment variables?
- execute configuration, build, and tests as individual steps in the CI. I want to see quickly at which stage the CI fails. This rules out running everything as a single script.
- use CDash without a CTestConfig in the root?
Thanks a lot!