AGISimBuildbot

From AGIRI.org

Jump to: navigation, search

AGI-SIM BuildBot Buildslave Instructions for Ubuntu 7.04 (feisty)

1. Install buildbot software & dependencies

sudo apt-get install buildbot

2. Setup local buildbot environment

sudo adduser buildslave
sudo su - buildslave

3. Configure the buildslave daemon, example command: buildbot create-slave BASEDIR MASTERHOST:PORT SLAVENAME PASSWORD

buildbot create-slave ~buildslave/novamente buildbot.opencog.org:9991 SLAVENAME PASSWORD

4. Edit info/admin & info/host documenting your build environment, examples at http://buildbot.opencog.org:8011/agi-sim

nano ~buildslave/novamente/info/admin
nano ~buildslave/novamente/info/host

5. Ensure AGI-SIM builds on your box (skip if this step if builds are tested already; see the end of this page for build steps as instructed by the buildmaster)

sudo apt-get install cvs autoconf automake1.9 libtool g++ libwxgtk2.6-dev crystalspace-dev libcal3d11-dev libboost-dev libboost-thread-dev libssl-dev 

6. Start the buildbot daemon (note: this may be added to the buildslave crontab, prefixed with @reboot)

buildbot start ~buildslave/novamente

7. Send your SLAVENAME and PASSWORD to a project admin


Build reports available at http://buildbot.opencog.org:8011/

Ondemand builds can be requested at http://buildbot.opencog.org:8011/agi-sim

Join agisim-general@lists.sourceforge.net at http://www.agiri.org/email/ if you wish to receive build reports via email


The build steps as instructed by the buildmaster are

addStep(source.CVS,
               cvsroot= ":pserver:anonymous@agisim.cvs.sourceforge.net:/cvsroot/agisim",
               cvsmodule="", login="",
               mode="update")
addStep(shell.Configure, workdir="build/shared", command="./bootstrap",
                         description="bootstrapping shared", descriptionDone="bootstrap shared")
addStep(shell.Configure, workdir="build/shared", command="./configure",
                         description="configuring shared", descriptionDone="configure shared")
addStep(shell.Compile,   workdir="build/shared", command="make",
                         description="compiling shared", descriptionDone="compile shared")
addStep(shell.Configure, workdir="build/server", command="./bootstrap",
                         description="bootstrapping server", descriptionDone="bootstrap server")
addStep(shell.Configure, workdir="build/server", command="./configure",
                         description="configuring server", descriptionDone="configure server")
addStep(shell.Compile,   workdir="build/server", command="make",  haltOnFailure=False,
                         description="compiling server", descriptionDone="compile server")
addStep(shell.Configure, workdir="build/client", command="./bootstrap",
                         description="bootstrapping client", descriptionDone="bootstrap client")
addStep(shell.Configure, workdir="build/client", command="./configure",
                         description="configuring client", descriptionDone="configure client")
addStep(shell.Compile,   workdir="build/client", command="make",
                         description="compiling client", descriptionDone="compile client")
Personal tools