mirror of
https://github.com/libretro/libretro-super
synced 2024-12-28 06:26:29 +00:00
25 lines
570 B
Bash
Executable File
25 lines
570 B
Bash
Executable File
#!/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
|
|
|
|
if [ "${TRAVIS_BUILD_DIR}" ]; then
|
|
CORE_DIRNAME=`grep ${CORE} ${RECIPE} | head -1 | awk '{print $2}'`
|
|
rm -fr ${CORE_DIRNAME}
|
|
mv ${TRAVIS_BUILD_DIR} ${CORE_DIRNAME}
|
|
fi
|
|
|
|
# only build the one core specified in $CORE
|
|
FORCE=YES SINGLE_CORE=${CORE} ./libretro-buildbot-recipe.sh ${RECIPE}
|