2017-10-21 18:04:50 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
RECIPE=recipes/nintendo/wiiu
|
|
|
|
|
|
|
|
sudo mkdir -p /home/buildbot/tools
|
|
|
|
|
|
|
|
sudo chmod -R 777 /home/buildbot
|
|
|
|
|
|
|
|
cd /home/buildbot/tools
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2017-10-31 22:09:39 +00:00
|
|
|
if [ "${TRAVIS_BUILD_DIR}" ]; then
|
|
|
|
CORE_DIRNAME=`grep ${CORE} ${RECIPE} | head -1 | awk '{print $2}'`
|
2017-10-31 22:14:33 +00:00
|
|
|
rm -fr ${CORE_DIRNAME}
|
2017-10-31 22:09:39 +00:00
|
|
|
mv ${TRAVIS_BUILD_DIR} ${CORE_DIRNAME}
|
|
|
|
fi
|
|
|
|
|
2017-10-21 18:04:50 +00:00
|
|
|
# only build the one core specified in $CORE
|
2017-11-02 23:15:28 +00:00
|
|
|
FORCE=YES SINGLE_CORE=${CORE} ./libretro-buildbot-recipe.sh ${RECIPE}
|