Ctest / CDash Workflow: Deploying Nightly Assemblies

I use / support several CMake projects, so I started learning CTest / CDash, but there is something that I cannot understand:

Is only the assembly / test result displayed? (otherwise decorated magazines)

Or: Can deploying nightly build binaries to the server be included in this workflow?

As far as I think, CTest is an ideal tool for testing CMake projects and showing test results, I would also like to automate the deployment of nightly assemblies on a web server, and I wonder if it is suitable for what ...

+8
c ++ continuous-integration cmake ctest cdash
source share
2 answers

This is a new feature in CDash 2.0 and the recent CTest, you can see an experimental example of this for ParaView,

http://trunk.cdash.org/index.php?project=ParaView

The CTest script that led to this can be viewed as a note, for example (from this information panel),

http://trunk.cdash.org/viewNotes.php?buildid=10381

I plan to write how to use this as soon as CDash 2.0 is fully released if no one finds it for the first time. Thus, the function, of course, is now, but very new. I think this is a great feature, and plan to use it in my projects to create nightly binaries.

+3
source share

This is more of a task to be performed by CMake, rather than CTest or CDash. We use CMake to create an installer image and copy it somewhere on the file system. You can use add_custom_target to indicate such a purpose. Your nightly builds may just include that goal.

+1
source share

All Articles