From 7427334d4b2d70ba6cf434a297a90a1f2dcaecaa Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 21 Mar 2011 19:00:30 +0000 Subject: first round of automated builds git-svn-id: svn://localhost/ardour2/branches/3.0@9176 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/linux_packaging/noderun | 20 ++++++++++++++++++++ tools/linux_packaging/run | 16 ++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 tools/linux_packaging/noderun create mode 100644 tools/linux_packaging/run diff --git a/tools/linux_packaging/noderun b/tools/linux_packaging/noderun new file mode 100644 index 0000000000..6041aabf44 --- /dev/null +++ b/tools/linux_packaging/noderun @@ -0,0 +1,20 @@ +#!/bin/sh + +BASE=$1 + +if [ x$BASE = "x" ] ; then + exit 1 +fi + +cd $BASE || exit 1 +svn update || exit 1 +./waf configure --strict || exit 1 +./waf || exit 1 +cd tools/linux_packaging || exit 1 +./build --public || exit 1 +file=`ls -t *.bz2 | head -1` +cp $file $BASE/../vmshare || exit 1 +exit 0 + + + diff --git a/tools/linux_packaging/run b/tools/linux_packaging/run new file mode 100644 index 0000000000..62c000b4a5 --- /dev/null +++ b/tools/linux_packaging/run @@ -0,0 +1,16 @@ +#!/bin/sh + +vbm=VBoxManage +basedir=/home/harrison/ardour/3.0/tools/linux_packaging +tooldir=$basedir/tools/linux_packaging +u=harrison +p=harrison + + + +for VM in Build_64bit_804s ; do + $vbm startvm $VM --type headless + $vbm guestcontrol exec $VM $tooldir/noderun $basedir --username $u --password $p --wait-for stdout + status=$? + $vbm controlvm $VM savestate +done -- cgit v1.2.3