ci: don't do idf_tools.py install in target_test stage
This commit is contained in:
parent
4b0b2c6fda
commit
57f7c77aff
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue