1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

docker: Add support for buildtests inside Docker.

This commit is contained in:
Joakim Gebart 2015-05-06 13:57:40 +02:00
parent 3b85f10217
commit 68f3c261b0
2 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,9 @@ endif
info-buildsizes-diff info-build info-boards-supported \
info-features-missing info-boards-features-missing
ifeq ($(BUILD_IN_DOCKER),1)
buildtest: ..in-docker-container
else
buildtest:
@ \
BUILDTESTOK=true; \
@ -66,6 +69,7 @@ buildtest:
done; \
done; \
$${BUILDTESTOK}
endif # BUILD_IN_DOCKER
info-objsize:
@case "${SORTROW}" in \

View File

@ -4,6 +4,7 @@ export DOCKER_FLAGS ?= --rm
# List of Docker-enabled make goals
export DOCKER_MAKECMDGOALS_POSSIBLE = \
all \
buildtest \
#
export DOCKER_MAKECMDGOALS = $(filter $(MAKECMDGOALS),$(DOCKER_MAKECMDGOALS_POSSIBLE))