mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 14:44:32 +02:00
Merge branch 'ci/run_testss_with_custom_oocd' into 'master'
CI target tests with custom OpenOCD distro See merge request espressif/esp-idf!12062
This commit is contained in:
@@ -72,6 +72,14 @@ 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
|
||||||
|
echo "Using custom OpenOCD from ${OOCD_DISTRO_URL}"
|
||||||
|
wget $OOCD_DISTRO_URL
|
||||||
|
ARCH_NAME=$(basename $OOCD_DISTRO_URL)
|
||||||
|
tar -x -f $ARCH_NAME
|
||||||
|
export OPENOCD_SCRIPTS=$PWD/openocd-esp32/share/openocd/scripts
|
||||||
|
export PATH=$PWD/openocd-esp32/bin:$PATH
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
Reference in New Issue
Block a user