travis: add wii build script

This commit is contained in:
Brad Parker 2017-10-21 15:05:49 -04:00
parent d8e1cf1086
commit 4dcf393ee6

21
travis/build-wii.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash
RECIPE=recipes/nintendo/wii
sudo mkdir -p /home/buildbot/tools
sudo chmod -R 777 /home/buildbot
cd /home/buildbot/tools
# wiiu tools work for wii also
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}