ci: install CMake version from tools.json in espcoredump test

To help achieve reproducible builds.
pull/6951/merge
Ivan Grokhotkov 2021-07-09 01:50:28 +02:00 zatwierdzone przez Fu Hanxi
rodzic 2f811b7975
commit b4e8e9c845
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -66,7 +66,7 @@ variables:
export IDF_MIRROR_PREFIX_MAP=
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
tools/idf_tools.py --non-interactive install ${SETUP_TOOLS_LIST:-} && eval "$(tools/idf_tools.py --non-interactive export)" || exit 1
if [[ ! -z "$OOCD_DISTRO_URL" && "$CI_JOB_STAGE" == "target_test" ]]; then
echo "Using custom OpenOCD from ${OOCD_DISTRO_URL}"
wget $OOCD_DISTRO_URL

Wyświetl plik

@ -260,6 +260,9 @@ test_espcoredump:
- components/espcoredump/test/.coverage
- components/espcoredump/test/output
expire_in: 1 week
variables:
# install CMake version specified in tools.json
SETUP_TOOLS_LIST: "all"
script:
- cd components/espcoredump/test/
- ./test_espcoredump.sh