libretro-super/travis/build-linux_x64.sh

15 lines
369 B
Bash
Raw Normal View History

2017-10-23 19:44:22 +00:00
#!/bin/bash
RECIPE=recipes/linux/cores-linux-x64-generic
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
2017-10-23 19:44:22 +00:00
# only build the one core specified in $CORE
FORCE=YES SINGLE_CORE=${CORE} ./libretro-buildbot-recipe.sh ${RECIPE}