first round of automated builds

git-svn-id: svn://localhost/ardour2/branches/3.0@9176 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-03-21 19:00:30 +00:00
parent 80b654691a
commit 7427334d4b
2 changed files with 36 additions and 0 deletions

View File

@ -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

16
tools/linux_packaging/run Normal file
View File

@ -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