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

To help achieve reproducible builds.
This commit is contained in:
Ivan Grokhotkov 2021-07-09 01:50:28 +02:00 committed by Fu Hanxi
parent 677d6a8625
commit 4dc1801c7a
2 changed files with 4 additions and 1 deletions

View File

@ -70,7 +70,7 @@ variables:
export IDF_MIRROR_PREFIX_MAP= export IDF_MIRROR_PREFIX_MAP=
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 ${SETUP_TOOLS_LIST:-} && eval "$(tools/idf_tools.py --non-interactive export)" || exit 1
fi fi
before_script: before_script:

View File

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