Merge branch 'ci/fix_macos_runner_v5.0' into 'release/v5.0'

ci: select correct python version for mac runners (v5.0)

See merge request espressif/esp-idf!31355
This commit is contained in:
Roland Dobai
2024-06-06 21:10:24 +08:00
2 changed files with 5 additions and 0 deletions

View File

@@ -194,6 +194,10 @@ before_script:
.before_script_macos:
before_script:
# macos is running shell executor, which means it would use
# the system installed /usr/local/bin/python3 by default.
# Ensure pyenv and PYENV_VERSION installed
- eval "$(pyenv init -)"
- *common-before_scripts
# On macOS, these tools need to be installed
- export IDF_TOOLS_PATH="${HOME}/.espressif_runner_${CI_RUNNER_ID}_${CI_CONCURRENT_ID}"

View File

@@ -516,6 +516,7 @@ test_build_system_cmake_macos:
- macos_shell
variables:
SHELL_TEST_SCRIPT: test_build_system_cmake.sh
PYENV_VERSION: "3.7"
script:
- ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
- rm -rf test_build_system