From 1fa6d49f6f7c70c43a832c024534218f1be942aa Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Wed, 11 Sep 2024 17:20:51 +0200 Subject: [PATCH] ci: remove idf-env.json before install.sh for macos jobs --- .gitlab/ci/common.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab/ci/common.yml b/.gitlab/ci/common.yml index 298631b912..9708396b5f 100644 --- a/.gitlab/ci/common.yml +++ b/.gitlab/ci/common.yml @@ -223,6 +223,8 @@ variables: - *common-before_scripts # On macOS, these tools need to be installed - export IDF_TOOLS_PATH="${HOME}/.espressif_runner_${CI_RUNNER_ID}_${CI_CONCURRENT_ID}" + # remove idf-env.json, since it may contains enabled "features" + - rm -f $IDF_TOOLS_PATH/idf-env.json - $IDF_PATH/tools/idf_tools.py --non-interactive install cmake ninja # This adds tools (compilers) and the version-specific Python environment to PATH - *setup_tools_and_idf_python_venv