add travis build scripts

This commit is contained in:
Brad Parker 2017-10-21 14:04:50 -04:00
parent 5429180b3f
commit d8e1cf1086
2 changed files with 29 additions and 0 deletions

20
travis/build-wiiu.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
RECIPE=recipes/nintendo/wiiu
sudo mkdir -p /home/buildbot/tools
sudo chmod -R 777 /home/buildbot
cd /home/buildbot/tools
wget -O wiiu.tar.xz 'https://github.com/libretro/libretro-toolchains/blob/master/wiiu.tar.xz?raw=true'
tar Jkxf wiiu.tar.xz
cd ~/libretro-super
# only build the one core specified in $CORE
egrep "^$CORE " ${RECIPE} | head -1 >${RECIPE}.new && mv ${RECIPE}.new ${RECIPE}
./libretro-buildbot-recipe.sh ${RECIPE}

9
travis/build.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
export LOGDATE=`date +%Y-%m-%d`
mkdir -p /tmp/log/${LOGDATE}
export BOT=.
export TMPDIR=/tmp
export EXIT_ON_ERROR=1
./build-${PLATFORM}.sh