mirror of
https://github.com/libretro/libretro-super
synced 2025-04-10 12:44:20 +00:00
windows log fixes
This commit is contained in:
parent
076f4ad166
commit
5b019acd49
@ -1490,9 +1490,9 @@ if [ "${PLATFORM}" = "MINGW64" ] || [ "${PLATFORM}" = "MINGW32" ] || [ "${PLATFO
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
strip -s retroarch.exe
|
strip -s retroarch.exe
|
||||||
|
cp -v retroarch.exe.manifest windows/retroarch.exe.manifest 2>/dev/null
|
||||||
cp -v retroarch.exe windows/retroarch.exe | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
|
cp -v retroarch.exe windows/retroarch.exe | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
|
||||||
cp -v retroarch.exe windows/retroarch.exe
|
cp -v retroarch.exe windows/retroarch.exe
|
||||||
cp -v retroarch.exe.manifest windows/retroarch.exe.manifest 2>/dev/null
|
|
||||||
|
|
||||||
status=$?
|
status=$?
|
||||||
echo $status
|
echo $status
|
||||||
@ -1509,28 +1509,36 @@ if [ "${PLATFORM}" = "MINGW64" ] || [ "${PLATFORM}" = "MINGW32" ] || [ "${PLATFO
|
|||||||
|
|
||||||
ENTRY_ID=`curl -X POST -d type="start" -d platform="$jobid" -d name="retroarch-debug" http://buildbot.fiveforty.net/build_entry/`
|
ENTRY_ID=`curl -X POST -d type="start" -d platform="$jobid" -d name="retroarch-debug" http://buildbot.fiveforty.net/build_entry/`
|
||||||
|
|
||||||
${HELPER} ${MAKE} -j${JOBS} DEBUG=1 GL_DEBUG=1 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_DEBUG_${PLATFORM}.txt
|
${HELPER} ${MAKE} -j${JOBS} DEBUG=1 GL_DEBUG=1 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_DEBUG_${PLATFORM}.log
|
||||||
for i in $(seq 3); do for bin in $(ntldd -R *exe | grep -i mingw | cut -d">" -f2 | cut -d" " -f2); do cp -vu "$bin" . ; done; done
|
for i in $(seq 3); do for bin in $(ntldd -R *exe | grep -i mingw | cut -d">" -f2 | cut -d" " -f2); do cp -vu "$bin" . ; done; done
|
||||||
|
|
||||||
if [ -n ${CUSTOM_BUILD_DEBUG} ]; then
|
if [ -n ${CUSTOM_BUILD_DEBUG} ]; then
|
||||||
${CUSTOM_BUILD_DEBUG} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
|
${CUSTOM_BUILD_DEBUG} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_DEBUG_${PLATFORM}.log
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp -v retroarch.exe windows/retroarch_debug.exe | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
|
cp -v retroarch.exe.manifest windows/retroarch_debug.exe.manifest 2>/dev/null
|
||||||
|
cp -v retroarch.exe windows/retroarch_debug.exe | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_DEBUG_${PLATFORM}.log
|
||||||
cp -v *.dll windows/
|
cp -v *.dll windows/
|
||||||
cp -v retroarch.exe windows/retroarch_debug.exe
|
cp -v retroarch.exe windows/retroarch_debug.exe
|
||||||
cp -v retroarch.exe.manifest windows/retroarch_debug.exe.manifest 2>/dev/null
|
|
||||||
|
|
||||||
curl -X POST -d type="finish" -d index="$ENTRY_ID" -d status="done" http://buildbot.fiveforty.net/build_entry/
|
|
||||||
ENTRY_ID=""
|
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
curl -X POST -d type="finish" -d index="$ENTRY_ID" -d status="done" http://buildbot.fiveforty.net/build_entry/
|
||||||
MESSAGE="retroarch debug: [status: done] [$jobid]"
|
MESSAGE="retroarch debug: [status: done] [$jobid]"
|
||||||
echo $MESSAGE
|
echo $MESSAGE
|
||||||
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
|
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_DEBUG_${PLATFORM}.log
|
||||||
|
buildbot_log "$MESSAGE"
|
||||||
|
else
|
||||||
|
ERROR=$TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_DEBUG_${PLATFORM}.log
|
||||||
|
HASTE=`curl -X POST http://p.0bl.net/ --data-binary @$ERROR`
|
||||||
|
MESSAGE="retroarch-debug: [status: fail] [$jobid] LOG: $HASTE"
|
||||||
|
echo $MESSAGE
|
||||||
|
echo buildbot job: $MESSAGE | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_DEBUG_${PLATFORM}.log
|
||||||
|
curl -X POST -d type="finish" -d index="$ENTRY_ID" -d status="fail" -d log="$HASTE" http://buildbot.fiveforty.net/build_entry/
|
||||||
buildbot_log "$MESSAGE"
|
buildbot_log "$MESSAGE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ENTRY_ID=""
|
||||||
|
|
||||||
echo "Packaging"
|
echo "Packaging"
|
||||||
cp retroarch.cfg retroarch.default.cfg
|
cp retroarch.cfg retroarch.default.cfg
|
||||||
mkdir -p windows/filters
|
mkdir -p windows/filters
|
||||||
|
Loading…
x
Reference in New Issue
Block a user