From a9501e16c7db4db2f96d73fa62be996d711cae72 Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Fri, 23 Sep 2022 10:20:27 +0200 Subject: [PATCH] CI: Clean-up idf-env.json which might not compatible with newer versions --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2397fb2b9..2c58332c51 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -107,6 +107,8 @@ before_script: - source tools/ci/utils.sh - apply_bot_filter - export IDF_TOOLS_PATH="${HOME}/.espressif_runner_${CI_RUNNER_ID}_${CI_CONCURRENT_ID}" + # Clean up idf-env.json which might not be compatible with one produced by newer ESP-IDF versions + - rm -f ${IDF_TOOLS_PATH}/idf-env.json - $IDF_PATH/tools/idf_tools.py install-python-env # On macOS, these tools need to be installed - $IDF_PATH/tools/idf_tools.py --non-interactive install cmake ninja