mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
ci: don't do idf_tools.py install in target_test stage
This commit is contained in:
@@ -73,8 +73,10 @@ variables:
|
|||||||
echo "Cleaning up $CUSTOM_TOOLCHAIN_PATH"
|
echo "Cleaning up $CUSTOM_TOOLCHAIN_PATH"
|
||||||
rm -rf "$CUSTOM_TOOLCHAIN_PATH"
|
rm -rf "$CUSTOM_TOOLCHAIN_PATH"
|
||||||
|
|
||||||
.setup_tools: &setup_tools |
|
.setup_tools_unless_target_test: &setup_tools_unless_target_test |
|
||||||
|
if [ "$CI_JOB_STAGE" != "target_test" ]; then
|
||||||
tools/idf_tools.py --non-interactive install && eval "$(tools/idf_tools.py --non-interactive export)" || exit 1
|
tools/idf_tools.py --non-interactive install && eval "$(tools/idf_tools.py --non-interactive export)" || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- source tools/ci/setup_python.sh
|
- source tools/ci/setup_python.sh
|
||||||
@@ -94,7 +96,7 @@ before_script:
|
|||||||
# (the same regular expressions are used to set these are used in 'only:' sections below
|
# (the same regular expressions are used to set these are used in 'only:' sections below
|
||||||
- source tools/ci/configure_ci_environment.sh
|
- source tools/ci/configure_ci_environment.sh
|
||||||
|
|
||||||
- *setup_tools
|
- *setup_tools_unless_target_test
|
||||||
|
|
||||||
- *setup_custom_toolchain
|
- *setup_custom_toolchain
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user