From 9b19b21073b7202117432e892e1fe908754c3bd0 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Fri, 20 Mar 2020 00:01:16 +0100 Subject: [PATCH] ci: generate separate log files for each example config Otherwise the build log gets overwritten, and warnings in earlier builds may be masked. --- tools/ci/build_examples_cmake.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/ci/build_examples_cmake.sh b/tools/ci/build_examples_cmake.sh index fc8089b65e..8205aa17f8 100755 --- a/tools/ci/build_examples_cmake.sh +++ b/tools/ci/build_examples_cmake.sh @@ -60,7 +60,6 @@ BUILD_PATH=$(${REALPATH} --relative-to ${IDF_PATH} ${BUILD_PATH}) ALL_BUILD_LIST_JSON="${BUILD_PATH}/list.json" JOB_BUILD_LIST_JSON="${BUILD_PATH}/list_job_${CI_NODE_INDEX}.json" -mkdir -p "${BUILD_PATH}/example_builds" echo "build_examples running for target $IDF_TARGET" @@ -80,7 +79,7 @@ ${IDF_PATH}/tools/find_apps.py examples \ --exclude examples/build_system/idf_as_lib \ --work-dir "${BUILD_PATH}/@f/@w/@t" \ --build-dir build \ - --build-log "${LOG_PATH}/@f.txt" \ + --build-log "${LOG_PATH}/@f_@w.txt" \ --output ${ALL_BUILD_LIST_JSON} \ --config 'sdkconfig.ci=default' \ --config 'sdkconfig.ci.*=' \