From 4dcf393ee6cd81eefd5f81266843b3d918b0e501 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Sat, 21 Oct 2017 15:05:49 -0400 Subject: [PATCH] travis: add wii build script --- travis/build-wii.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 travis/build-wii.sh 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}