example.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Name: example.xml
  4. Purpose: Buildbot example configuration.
  5. Author: Mike Wetherell
  6. Copyright: (c) 2007 Mike Wetherell
  7. Licence: wxWindows licence
  8. There is one xml file such as this per build slave containing a <build>
  9. element for each build the slave runs. Each <build> corresponds to a
  10. column in the waterfall display.
  11. For full documentation see:
  12. http://www.wxwidgets.org/wiki/index.php/Development:_Buildbot
  13. -->
  14. <bot xmlns:xi="http://www.w3.org/2001/XInclude">
  15. <!--
  16. Common declarations.
  17. -->
  18. <xi:include href="include/defs.xml"/>
  19. <!--
  20. Notes:
  21. The elements marked 'Unique' below must be unique across all builds on
  22. all slaves.
  23. If a build is currently failing because of something other than a bug in
  24. wxWidgets, e.g. out of space or missing libs, then comment it out, or
  25. add '** Ignore **' to the beginning of the <name>, so that wxWidgets
  26. developers know not to waste time investigating.
  27. -->
  28. <build>
  29. <!--
  30. Unique. Appears as the title in the waterfall display.
  31. -->
  32. <name>Linux x86_64 wxGTK Stable</name>
  33. <!--
  34. Unique. The name of a directory for the bulid.
  35. -->
  36. <builddir>example_gtk</builddir>
  37. <!--
  38. The name of a scheduler that will trigger this build. common.xml
  39. currently defines:
  40. * 'trunk_quick' and 'stable_quick'. These trigger a build after
  41. every source change on the trunk and stable branches respectively.
  42. * Weekly schedulers that fire once a week. There is one of these
  43. for every half hour of the week, e.g. you have monday_0600,
  44. monday_0630, etc..
  45. * Daily schedulers that fire once a day. There is also one of these
  46. for every half hour, e.g. daily_0600, daily_0630, etc..
  47. An empty <scheduler/> element takes its value from the previous build
  48. incremented in the following way:
  49. * Weekly schedulers are incremented by a day, monday_0600 becomes
  50. tuesday_0600, and at the end of the week the time is also bumped by
  51. an hour, saturday_0600 becomes sunday_0700.
  52. * Daily scheduler are incremented by an hour.
  53. The <scheduler> element can be omitted, in which case the build
  54. never runs automatically, but can still be triggered manually.
  55. Or you can use several, e.g. you could use two weekly schedulers
  56. that fire on different days to have a build run twice a week.
  57. -->
  58. <scheduler>monday_0600</scheduler>
  59. <!--
  60. The meaning of <sandbox> is specific to the build slave. There
  61. should be a comment in the slave's configuration file saying if they
  62. are allowed or required. On the testdrive it specifies the remote
  63. machine that will run the bulid.
  64. -->
  65. <sandbox>debug</sandbox>
  66. <!--
  67. You can override the make command the compile steps will use using
  68. this <make> element, if omitted defaults to 'make'. For Windows
  69. builds this becomes the place to put build options as there is no
  70. configure step.
  71. -->
  72. <make>nmake -f makefile.vc SHARED=1 CPPUNIT_CFLAGS=-I\cppunit\include CPPUNIT_LIBS=cppunit.lib</make>
  73. <!--
  74. The build steps.
  75. -->
  76. <steps>
  77. <!--
  78. Check out the sources, by default the trunk branch. Or for a
  79. particular branch or tag, e.g.:
  80. <checkout branch="{$STABLE_BRANCH}"/>
  81. <checkout branch="branches/WX_2_6_BRANCH"/>
  82. -->
  83. <checkout/>
  84. <!--
  85. A <shellcommand> build step can be used anywhere you need to run
  86. arbitrary commands not covered by the standard build steps.
  87. <haltOnFailure/> specifies that the whole build fails if this
  88. step fails, without it it continues with the next step anyway.
  89. -->
  90. <shellcommand>
  91. <description>setting up</description>
  92. <descriptionDone>set up</descriptionDone>
  93. <haltOnFailure/>
  94. <command>setup-script</command>
  95. </shellcommand>
  96. <!--
  97. Configure. Options and environment variables can be added with
  98. the 'options' attribute:
  99. <configure options="-with-foobar CC=cc CXX=CC"/>
  100. Omitted for Windows builds.
  101. -->
  102. <configure/>
  103. <!--
  104. Compile the wxWidgets library, subdirectories and tests.
  105. Takes the following attributes which can all be either 'true' or
  106. 'false':
  107. wx - build the library
  108. samples - build the samples
  109. utils - build the utils
  110. demos - build the demos
  111. contrib - build the contrib
  112. tests - build the tests
  113. msw - the library makefile is under build\msw
  114. gui - if 'false' builds only a subset of the above
  115. The attributes usually default to the right values.
  116. -->
  117. <compile-all/>
  118. <!--
  119. Run the test suites.
  120. -->
  121. <run-tests/>
  122. </steps>
  123. </build>
  124. </bot>