mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
ci: ensure macos selected the correct python installed by pyenv
This commit is contained in:
parent
c46dc8c6da
commit
135b75dd53
@ -194,6 +194,10 @@ before_script:
|
|||||||
|
|
||||||
.before_script_macos:
|
.before_script_macos:
|
||||||
before_script:
|
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
|
- *common-before_scripts
|
||||||
# On macOS, these tools need to be installed
|
# On macOS, these tools need to be installed
|
||||||
- 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}"
|
||||||
|
@ -516,6 +516,7 @@ test_build_system_cmake_macos:
|
|||||||
- macos_shell
|
- macos_shell
|
||||||
variables:
|
variables:
|
||||||
SHELL_TEST_SCRIPT: test_build_system_cmake.sh
|
SHELL_TEST_SCRIPT: test_build_system_cmake.sh
|
||||||
|
PYENV_VERSION: "3.7"
|
||||||
script:
|
script:
|
||||||
- ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
|
- ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
|
||||||
- rm -rf test_build_system
|
- rm -rf test_build_system
|
||||||
|
Loading…
x
Reference in New Issue
Block a user