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

pull/9884/head^2
Roland Dobai 2022-09-23 10:20:27 +02:00 zatwierdzone przez Anton Maklakov
rodzic 6f87740bbe
commit 4e5a8942a1
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -113,6 +113,8 @@ before_script:
- source tools/ci/utils.sh
- is_based_on_commits $REQUIRED_ANCESTOR_COMMITS
- 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