mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
automated build stuff continues
git-svn-id: svn://localhost/ardour2/branches/3.0@9180 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
da52e3fb4e
commit
5e0c8d1015
2 changed files with 14 additions and 7 deletions
|
|
@ -6,8 +6,6 @@ if [ x$BASE = "x" ] ; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "Hello, world!"
|
||||
|
||||
cd $BASE || exit 1
|
||||
svn update || exit 1
|
||||
./waf configure --strict --noconfirm || exit 1
|
||||
|
|
|
|||
|
|
@ -1,17 +1,26 @@
|
|||
#!/bin/sh
|
||||
|
||||
vbm=VBoxManage
|
||||
basedir=/home/harrison/ardour/3.0/tools/linux_packaging
|
||||
basedir=/home/harrison/ardour/3.0
|
||||
tooldir=$basedir/tools/linux_packaging
|
||||
u=harrison
|
||||
p=harrison
|
||||
|
||||
for VM in Build_64bit_804s ; do
|
||||
for VM in Build_32bit_804s ; do
|
||||
$vbm startvm $VM --type headless
|
||||
echo "Waiting for guest control to be available (12 seconds) ... "
|
||||
echo "$VM: Waiting for guest control to be available (12 seconds) ... "
|
||||
sleep 12
|
||||
echo "Running $tooldir/noderun $basedir on $VM ... "
|
||||
$vbm guestcontrol exec $VM /bin/sh --arguments $tooldir/noderun --arguments $basedir --username $u --password $p --wait-for stdout
|
||||
echo "$VM: Running $tooldir/noderun $basedir on $VM ... "
|
||||
$vbm guestcontrol exec $VM /bin/sh \
|
||||
--arguments -vx \
|
||||
--arguments $tooldir/noderun \
|
||||
--arguments $basedir \
|
||||
--environment PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
|
||||
--username $u --password $p --wait-for stdout
|
||||
status=$?
|
||||
$vbm controlvm $VM savestate
|
||||
if [ $status -ne 0 ] ; then
|
||||
echo "Build failed while in VM $VM"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue