mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 06:34:34 +02:00
ci: install CMake version from tools.json in espcoredump test
To help achieve reproducible builds.
This commit is contained in:
committed by
Fu Hanxi
parent
2f811b7975
commit
b4e8e9c845
@@ -66,7 +66,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
|
||||||
if [[ ! -z "$OOCD_DISTRO_URL" && "$CI_JOB_STAGE" == "target_test" ]]; then
|
if [[ ! -z "$OOCD_DISTRO_URL" && "$CI_JOB_STAGE" == "target_test" ]]; then
|
||||||
echo "Using custom OpenOCD from ${OOCD_DISTRO_URL}"
|
echo "Using custom OpenOCD from ${OOCD_DISTRO_URL}"
|
||||||
wget $OOCD_DISTRO_URL
|
wget $OOCD_DISTRO_URL
|
||||||
|
@@ -260,6 +260,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/
|
||||||
- ./test_espcoredump.sh
|
- ./test_espcoredump.sh
|
||||||
|
Reference in New Issue
Block a user