CI: Clean-up idf-env.json which might not compatible with newer versions

This commit is contained in:
Roland Dobai
2022-09-23 10:20:27 +02:00
parent e81c5be7d8
commit b3a80b4229

View File

@@ -144,6 +144,8 @@ before_script:
before_script: before_script:
- *apply_bot_filter - *apply_bot_filter
- export IDF_TOOLS_PATH="${HOME}/.espressif_runner_${CI_RUNNER_ID}_${CI_CONCURRENT_ID}" - 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 - $IDF_PATH/tools/idf_tools.py install-python-env
# On macOS, these tools need to be installed # On macOS, these tools need to be installed
- $IDF_PATH/tools/idf_tools.py --non-interactive install cmake ninja - $IDF_PATH/tools/idf_tools.py --non-interactive install cmake ninja