Developer/Nightly Build

generated on 2016-04-19 01:19:16.637626 from the wiki page for Developer/Nightly_Build for SUMO 0.26.0

There are two main scripts responsible for the nightly build process which are tools/build/dailyUpdateMakeGCC (for the linux part) and tools/build/dailyBuildMSVC.py for Windows. Essentially they both perform the following steps:

  1. svn update (if no changes occured, the script ends)
  2. do a clean build (release and debug version)
  3. run unittests (currently linux only)
  4. build and upload packages
  5. build and upload documentation (linux only)
  6. run the acceptance tests (texttest)
  7. upload test results

All the results can be found in the daily dir on the sumo web space, also see Downloads#Nightly_Snapshots. There is also a local copy in the Daten/Sumo/daily directory (including the most recent game scenarios) the DLR internal tsall NAS. The windows script uses the sumo-all package from the local dir to build the binary distributable zip and the game zip.

One final step is to trigger the nightly build on the opensuse build service. This is achieved via uploading a new spec file via a cronjob, which triggers an automatic download of the sources and a rebuild. All errors and test result e-mails are directed to the sumo-tests list at dlr.de, except for the build service errors which go to a private account since the build is currently in a private project.


This page was last modified on 12 April 2016, at 14:24.