mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
CI: murdock2: compile everything in same directory
This commit is contained in:
parent
28ce575c05
commit
0a9b0ce784
9
.murdock
9
.murdock
@ -62,6 +62,11 @@ compile() {
|
||||
local appdir=$1
|
||||
local board=$2
|
||||
|
||||
# set build directory. CI ensures only one build at a time in $(pwd).
|
||||
rm -rf build
|
||||
export BINDIR="$(pwd)/build"
|
||||
export PKGDIRBASE="${BINDIR}/pkg"
|
||||
|
||||
[ -n "$DWQ_WORKER" ] && \
|
||||
echo "-- running on worker ${DWQ_WORKER} thread ${DWQ_WORKER_THREAD}, build number $DWQ_WORKER_BUILDNUM."
|
||||
|
||||
@ -81,8 +86,10 @@ compile() {
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "-- build directory size: $(du -sh ${BINDIR} | cut -f1)"
|
||||
|
||||
# cleanup
|
||||
rm -Rf "${appdir}/bin/${board}" "${appdir}/bin/pkg/${board}"
|
||||
rm -Rf build
|
||||
|
||||
return $RES
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user