diff --git a/travis/build-wii.sh b/travis/build-wii.sh new file mode 100755 index 00000000..c35daaec --- /dev/null +++ b/travis/build-wii.sh @@ -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}