Skip to content

Commit

Permalink
drone-scripts: create dir for each BUILDTEST_MCU_GROUP
Browse files Browse the repository at this point in the history
  • Loading branch information
phiros committed Jul 10, 2015
1 parent d15f099 commit f44615a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dist/tools/drone-scripts/build_and_test.sh
Expand Up @@ -16,9 +16,16 @@ function exec_build_func {
fi

echo "Begin group ${group}"
# spawn new directory for the group
mkdir -p "build_tmp/${group}"
rsync -a --exclude="bin" --exclude=build_tmp . "build_tmp/${group}"
cd "build_tmp/${group}"
# For now, just ride on the Travis build scripts
BUILDTEST_MCU_GROUP=${group} ./dist/tools/travis-scripts/build_and_test.sh "${fileargs}"
RES=$?
# clean temporary build directory for the group
cd - 2>&1 >/dev/null
rm -rf "build_tmp/${group}"
echo "Result (${group}): ${RES}"
}

Expand Down

0 comments on commit f44615a

Please sign in to comment.