ci: Install custom OpenOCD for target tests only

pull/6718/head
Alexey Gerenkov 2021-03-09 20:24:39 +03:00
rodzic 2c511e0295
commit a86bd8e768
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -66,7 +66,7 @@ variables:
fi
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
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}"
wget $OOCD_DISTRO_URL
ARCH_NAME=$(basename $OOCD_DISTRO_URL)