Browse Source

make: clean artifacts after build success/fail

dev/timer
Philipp Rosenkranz 8 years ago
parent
commit
19364b35a3
  1. 14
      Makefile.buildtests

14
Makefile.buildtests

@ -70,6 +70,20 @@ buildtest:
fi; \
break; \
done; \
env -i \
HOME=$${HOME} \
PATH=$${PATH} \
BOARD=$${BOARD} \
CCACHE=$${CCACHE} \
CCACHE_DIR=$${CCACHE_DIR} \
CCACHE_BASEDIR=$${CCACHE_BASEDIR} \
RIOTBASE=$${RIOTBASE} \
RIOTBOARD=$${RIOTBOARD} \
RIOTCPU=$${RIOTCPU} \
BINDIRBASE=$${BINDIRBASE} \
RIOTNOLINK=$${RIOTNOLINK} \
RIOT_VERSION=$${RIOT_VERSION} \
$(MAKE) clean 2>&1 >/dev/null || true; \
done; \
$${BUILDTESTOK}
endif # BUILD_IN_DOCKER

Loading…
Cancel
Save