On Fri, Sep 24, 2010 at 4:31 PM, Geoffrey Hutchison <ge...@geoffhutchison.net> wrote: >> We now have continuous build for OB on linux (ubuntu 9.04, 64bit). It >> checks every 5 minutes to see if there are new commits. > > If you can give me a quick run-down or config file, I can probably set this > up for 64-bit Mac.
This is the config file: http://pastebin.org/1150194 (save as /some/path/continuous.cmake) The script runs for 60 minutes and I have a cron job running every hour to start the script. I might change it to only start once a day. The difference is that each time the script is started, the first new commits will start with an empty binary directory. Doing this every hour doesn't seem necessary for our purposes. (the cron job: ctest -S /some/path/continuous.cmake) This is done on a repository using svn since this is easier than git-svn. The make -j5 doesn't seem to work though but I'll try to find the problem. > It's probably a good idea to run gcov for a coverage build too. I'll look > into that. Yes, I've already submitted an experimental memory check and coverage run. Below is the script I used for the Experimental coverage. Coverage can be included in Continuous or Nightly builds for example, the CMAKE_CXX_FLAGS results in gcov files. If these are detected, coverage is submitted. set(CTEST_SOURCE_DIRECTORY /home/timvdm/openbabel-cdash) set(CTEST_BINARY_DIRECTORY /home/timvdm/openbabel-cdash/build-coverage) set(CTEST_COMMAND "\"${CTEST_EXECUTABLE_NAME}\" -D Experimental") set(CTEST_CMAKE_COMMAND "\"${CMAKE_EXECUTABLE_NAME}\"") set(CTEST_INITIAL_CACHE "BUILDNAME:STRING=Ubuntu 9.04, GCC 4.4.1, 64bit SITE:STRING=Manganese.timvdm MAKECOMMAND:STRING=make -j5 PYTHON_BINDINGS:BOOL=OFF CMAKE_CXX_FLAGS:STRING=-fprofile-arcs -ftest-coverage ") For a nightly memory check, we can run ctest -D NgihtlyMemoryCheck but I still have to work out some details. > -Geoff ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel