[r36157]: www / trunk / submit-build.html Maximize Restore History

Download this file

submit-build.html    63 lines (53 with data), 2.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Submitting a VXL build</title>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<style type="text/css">
body { color: black ; background-color: white }
</style>
</head>
<body>
<h1>Submitting a <a href="http://vxl.sourceforge.net/"><img alt="VXL" src="logo1-quant.gif" border="0"/></a> build to the dashboard</h1>
<hr/>
Follow the instructions below to contribute a submission to the
<a href="http://www.cdash.org/CDash/index.php?project=vxl">vxl quality dashboard</a>.
<ol>
<li> Create a directory to house dashboard builds (e.g. <code>~/Dashboards</code> or <code>c:\Dashboards</code>):
<pre>
$ mkdir ~/Dashboards
$ cd ~/Dashboards</pre>
<li> Check out the vxl testing scripts:
<pre>
$ svn co https://svn.code.sf.net/p/vxl/svn/trunk/config/cmake/ctest-scripts vxl-scripts
$ ls vxl-scripts
dash_example.cmake vxl_common.cmake</pre>
<li> Copy and edit the example script to suit your configuration:
<pre>
$ cp vxl-scripts/dash_example.cmake vxl-scripts/my_vxl_dashboard.cmake
$ $EDITOR vxl-scripts/my_vxl_dashboard.cmake</pre>
It might look like this:
<pre>
set(CTEST_SITE "mylinuxbox.myinstitution")
set(CTEST_BUILD_NAME "Linux-gcc")
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
include(${CTEST_SCRIPT_DIRECTORY}/vxl_common.cmake)</pre>
The script you create configures local details.
Most work is done by the <code>vxl_common.cmake</code> script it includes.
<li> Create a scheduled task (windows) or cron-job (unix) that runs the script with ctest.
The command line should be something like
<pre>
ctest -S ~/Dashboards/vxl-scripts/my_vxl_dashboard.cmake -V > ~/Dashboards/vxl-scripts/my_vxl_dashboard.log 2>&1</pre>
For nightly builds, the job should run at some time after 11pm Eastern.
See the <a href="http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest#Setting_Up_Cron.2FScheduler">CTest Wiki</a>
for help configuring scheduled tasks.
</ol>
<hr/>
<address>
<a href="http://validator.w3.org/check?uri=referer"><img src="valid-html401.png" height="31" width="88" align="right" border="0" alt="Valid HTML 4.01 Transitional"/></a>
<font color="blue">vxl-maintainers&nbsp;at&nbsp;lists&nbsp;dot&nbsp;sourceforge&nbsp;dot&nbsp;net</font>
<br/>
Hosted by <a href="http://sourceforge.net/"><img src="sflogo.png" alt="SourceForge Logo" align="middle" border="0"/></a>
</address>
</body>
</html>