Skip to content

Commit

Permalink
CI: Work around problem with running the initial 'make clean' in para…
Browse files Browse the repository at this point in the history
…llel (#18)

    Just don't pass '-j' to the 'make clean' command
  • Loading branch information
antmak committed Jul 7, 2017
1 parent f0b6256 commit 3cd1089
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/ci/build_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ build_example () {
# build non-verbose first
local BUILDLOG=$(mktemp -t examplebuild.XXXX.log)
(
make clean defconfig &> >(tee -a "${BUILDLOG}") &&
MAKEFLAGS= make clean defconfig &> >(tee -a "${BUILDLOG}") &&
make all &> >(tee -a "${BUILDLOG}")
) || {
RESULT=$?; FAILED_EXAMPLES+=" ${EXAMPLE_NAME}"
make V=1 clean defconfig && make V=1 # verbose output for errors
make MAKEFLAGS= V=1 clean defconfig && make V=1 # verbose output for errors
}
popd

Expand Down
2 changes: 1 addition & 1 deletion tools/ci/test_build_system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function run_tests()
make defconfig || exit $?

print_status "Try to clean fresh directory..."
make clean || exit $?
MAKEFLAGS= make clean || exit $?

BOOTLOADER_BINS="bootloader/bootloader.elf bootloader/bootloader.bin"
APP_BINS="app-template.elf app-template.bin"
Expand Down

0 comments on commit 3cd1089

Please sign in to comment.