From d751029b552e59390a03c51f3896203887c7f8b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Sat, 4 Jun 2016 11:27:25 -0500 Subject: [PATCH] Update libretro-buildbot-recipe.sh --- libretro-buildbot-recipe.sh | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index 3c021609..49f0337e 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -1446,12 +1446,25 @@ if [ "${PLATFORM}" = "MINGW64" ] || [ "${PLATFORM}" = "MINGW32" ] || [ "${PLATFO echo "build command: $MAKE -j${JOBS}" $MAKE -j${JOBS} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log strip -s retroarch.exe + cp -v retroarch.exe windows/retroarch.exe if [ $? -eq 0 ]; then MESSAGE="retroarch: [status: done] [$jobid]" echo $MESSAGE echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log buildbot_log "$MESSAGE" + + $MAKE clean + $MAKE -j${JOBS} DEBUG=1 GL_DEBUG=1 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_DEBUG_${PLATFORM}.log + cp -v retroarch.exe windows/retroarch_debug.exe + + if [ $? -eq 0 ]; then + MESSAGE="retroarch debug: [status: done] [$jobid]" + echo $MESSAGE + echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log + buildbot_log "$MESSAGE" + fi + echo "Packaging" cp retroarch.cfg retroarch.default.cfg rm -rf windows @@ -1478,16 +1491,12 @@ savestate_directory = ":\states" EOF cp -v retroarch.default.cfg windows/ - cp -v *.exe tools/*.exe windows/ + cp -v tools/*.exe windows/ cp -rf audio/audio_filters/*.dll windows/filters/audio cp -rf audio/audio_filters/*.dsp windows/filters/audio cp -rf gfx/video_filters/*.dll windows/filters/video cp -rf gfx/video_filters/*.filt windows/filters/video - $MAKE clean - V=1 $MAKE -j${JOBS} DEBUG=1 GL_DEBUG=1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_DEBUG_${PLATFORM}.log - cp -v retroarch.exe windows/retroarch_debug.exe - else ERROR=`cat $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log | tail -n 100` HASTE=`curl -XPOST http://hastebin.com/documents -d"$ERROR"`