mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/custom_oocd_for_target_tests_only' into 'master'
ci: Install custom OpenOCD for target tests only See merge request espressif/esp-idf!12674
This commit is contained in:
commit
835493d8da
@ -66,7 +66,7 @@ variables:
|
|||||||
fi
|
fi
|
||||||
if [[ "$SETUP_TOOLS" == "1" || "$CI_JOB_STAGE" != "target_test" ]]; then
|
if [[ "$SETUP_TOOLS" == "1" || "$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
|
||||||
if [[ ! -z "$OOCD_DISTRO_URL" ]]; then
|
if [[ ! -z "$OOCD_DISTRO_URL" && "$CI_JOB_STAGE" == "target_test" ]]; then
|
||||||
echo "Using custom OpenOCD from ${OOCD_DISTRO_URL}"
|
echo "Using custom OpenOCD from ${OOCD_DISTRO_URL}"
|
||||||
wget $OOCD_DISTRO_URL
|
wget $OOCD_DISTRO_URL
|
||||||
ARCH_NAME=$(basename $OOCD_DISTRO_URL)
|
ARCH_NAME=$(basename $OOCD_DISTRO_URL)
|
||||||
|
Loading…
Reference in New Issue
Block a user