mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 17:49:10 -04:00
ci: generate separate log files for each {example, test app} config
Otherwise the build log gets overwritten, and warnings in earlier builds may be masked.
This commit is contained in:
parent
9b20b76ae6
commit
4f5d15ae93
@ -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.*=' \
|
||||
|
@ -51,9 +51,8 @@ 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"
|
||||
echo "build_test_apps running for target $IDF_TARGET"
|
||||
|
||||
cd ${IDF_PATH}
|
||||
|
||||
@ -70,7 +69,7 @@ ${IDF_PATH}/tools/find_apps.py tools/test_apps \
|
||||
--recursive \
|
||||
--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.*=' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user