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

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

Wyświetl plik

@ -70,7 +70,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
fi
before_script:

Wyświetl plik

@ -255,6 +255,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/
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./test_espcoredump.sh