Merge branch 'ci/fix_macos_runner_v4.4' into 'release/v4.4'

ci: select correct python version for mac runners (v4.4)

See merge request espressif/esp-idf!31577
This commit is contained in:
morris 2024-06-26 12:41:57 +08:00
commit 8498af6bd4

View File

@ -307,27 +307,27 @@ test_build_system_cmake:
variables: variables:
SHELL_TEST_SCRIPT: test_build_system_cmake.sh SHELL_TEST_SCRIPT: test_build_system_cmake.sh
test_build_system_cmake_macos: #test_build_system_cmake_macos:
extends: # extends:
- .test_build_system_template # - .test_build_system_template
- .before_script_macos # - .before_script_macos
- .rules:build:macos # - .rules:build:macos
tags: # tags:
- macos_shell # - macos_shell
variables: # variables:
SHELL_TEST_SCRIPT: test_build_system_cmake.sh # SHELL_TEST_SCRIPT: test_build_system_cmake.sh
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
- mkdir test_build_system # - mkdir test_build_system
- cd test_build_system # - cd test_build_system
# copy-paste the script from .test_build_system_template # # copy-paste the script from .test_build_system_template
# since `ESP_IDF_TEMPLATE_GIT` is a group variable and has higher precedence than job variable # # since `ESP_IDF_TEMPLATE_GIT` is a group variable and has higher precedence than job variable
# export here to override the group variable # # export here to override the group variable
# # #
# Clone the template app from github for macos runners # # Clone the template app from github for macos runners
- export ESP_IDF_TEMPLATE_GIT="https://github.com/espressif/esp-idf-template.git" # - export ESP_IDF_TEMPLATE_GIT="https://github.com/espressif/esp-idf-template.git"
- ${IDF_PATH}/tools/ci/${SHELL_TEST_SCRIPT} # - ${IDF_PATH}/tools/ci/${SHELL_TEST_SCRIPT}
build_docker: build_docker:
extends: extends: