From 2c531e143a027c264c3f2b9533eda121fe23638f Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Mon, 23 Oct 2017 21:10:22 -0400 Subject: [PATCH] travis: add 3ds build script --- travis/build-3ds.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 travis/build-3ds.sh diff --git a/travis/build-3ds.sh b/travis/build-3ds.sh new file mode 100755 index 00000000..e9bc28e6 --- /dev/null +++ b/travis/build-3ds.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +RECIPE=recipes/nintendo/3ds + +sudo mkdir -p /home/buildbot/tools + +sudo chmod -R 777 /home/buildbot + +cd /home/buildbot/tools + +wget -O 3ds.tar.xz 'https://github.com/libretro/libretro-toolchains/blob/master/3ds.tar.xz?raw=true' + +tar Jkxf 3ds.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}