<br><br><div class="gmail_quote">On Tue, Nov 29, 2011 at 8:21 AM, <span dir="ltr"><<a href="mailto:norulez@me.com" target="_blank">norulez@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is the CMake mailing list dead?<br></blockquote><div><br></div><div>No :-)</div><div><br></div><div>Although, I am also really interested in your request, I have never setup a ctest based continuous integration system so I don't have the answer. Maybe we could try your idea on a small project and see how it behaves.</div>
<div><br></div><div>Regards,</div><div>Nicolas</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 24.11.2011 um 15:45 schrieb "NoRulez" <<a href="mailto:norulez@me.com" target="_blank">norulez@me.com</a>>:<br>
<div><div></div><div><br>
> So, nobody an idea?<br>
><br>
> Do I only have to add an foreach loop like in the following example or is<br>
> there more to do:<br>
><br>
> #get all branches/tags into GIT_BRANCHES/GIT_TAGS<br>
><br>
> FOREACH(GIT_BRANCH ${GIT_BRANCHES})<br>
> execute_process (COMMAND ${GIT_EXECUTABLE} checkout ${GIT_BRANCH}<br>
> WORKING_DIRECTORY ${CTEST_SOURCE_DIRECTORY})<br>
> ctest_start (${MODEL} TRACK ${MODEL})<br>
> ctest_update (SOURCE "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE<br>
> NUMBER_FILES)<br>
> ctest_configure (BUILD "${CTEST_BINARY_DIRECTORY}")<br>
> ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}")<br>
> ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}")<br>
> ctest_coverage ()<br>
> ctest_memcheck ()<br>
> ctest_submit ()<br>
> ENDFOREACH()<br>
><br>
> FOREACH(GIT_TAG ${GIT_TAGS})<br>
> execute_process (COMMAND ${GIT_EXECUTABLE} checkout -b ${GIT_TAG}<br>
> WORKING_DIRECTORY ${CTEST_SOURCE_DIRECTORY})<br>
> ctest_start (${MODEL} TRACK ${MODEL})<br>
> ctest_update (SOURCE "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE<br>
> NUMBER_FILES)<br>
> ctest_configure (BUILD "${CTEST_BINARY_DIRECTORY}")<br>
> ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}")<br>
> ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}")<br>
> ctest_coverage ()<br>
> ctest_memcheck ()<br>
> ctest_submit ()<br>
> ENDFOREACH()<br>
><br>
> Thanks in advance<br>
><br>
> Best Regards<br>
> NoRulez<br>
><br>
> -----Ursprüngliche Nachricht-----<br>
> Von: <a href="mailto:cmake-bounces@cmake.org" target="_blank">cmake-bounces@cmake.org</a> [mailto:<a href="mailto:cmake-bounces@cmake.org" target="_blank">cmake-bounces@cmake.org</a>] Im Auftrag<br>
> von<br>
> <a href="mailto:norulez@me.com" target="_blank">norulez@me.com</a><br>
> Gesendet: Sonntag, 20. November 2011 18:21<br>
> An: CMake MailingList<br>
> Betreff: [CMake] CTestScript for all available git branches/tags<br>
><br>
> Hi,<br>
><br>
> if I have two or more projects (let's say proj1 and proj2) and for the<br>
> proj1 i've the branches v1.0 and v1.1. For proj2 i've the branches v1.0,<br>
> v1.1 and the tag v1.3 for example.<br>
><br>
> Currently CTest runs in Continuous and Nightly mode for the master branch.<br>
> But I want to run those modes for every branch/tag for each project. So<br>
> for<br>
> e.g.:<br>
><br>
> proj1/master<br>
> proj1/v1.0<br>
> proj1/v1.1<br>
><br>
> proj2/master<br>
> proj2/v1.0<br>
> proj2/v1.1<br>
> proj2/v1.3<br>
><br>
> How can I do that?<br>
><br>
> Many thanks in advance<br>
><br>
> Best Regards<br>
> NoRulez<br>
> --<br>
><br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the CMake FAQ at:<br>
> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
><br>
> --<br>
><br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the CMake FAQ at:<br>
> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Nicolas Desprès<br><br>