[CMake] CTest and CDash for CI

David Cole david.cole at kitware.com
Sat Oct 1 13:33:40 EDT 2011


On Mon, Sep 26, 2011 at 7:08 AM, Andrea Galeazzi <galeazzi at korg.it> wrote:

> I'm currently evaluating a good tool to introduce a continuous integration
> model in my workflow. Because I use CMake to manage all my projects, I'd
> like to also use CTest/CDash in order to accomplish such task. I start to
> read something about it but I didn't find the right answers to some
> questions:
> 1 - Can I define a test only to know if the project compiles without any
> errors?
>

You could run a dashboard script that just does ctest_configure(),
ctest_build() and ctest_submit() and skips the ctest_test() call altogether.
That should report to the dashboard still, but would only contain configure
and/or build errors, if any.



> 2 - Can I update a project from sourcesafe automatically?
>

We do not have sourcesafe support as one of our built-in known version
control systems. We support cvs, svn, git, hg and bzr. You could add a
subclass of cmCTestGlobalVC in the CMake/Source/CTest directory if you need
to add sourcesafe support.



> 3 - Can an email be forwarded to only people who performed a check-in from
> the previous successful build?
>

Yes. This is standard CDash email notification behavior. All the users who
have credentials in your repository should register with your CDash server,
and ask to be emailed when they "break the build"...



> Thanks
>
>
You're welcome,
David C.



> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111001/d890ac0c/attachment.htm>


More information about the CMake mailing list