travis: add 3ds build script

This commit is contained in:
Brad Parker 2017-10-23 21:10:22 -04:00
parent e32176b9e7
commit 2c531e143a

20
travis/build-3ds.sh Executable file
View File

@ -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}