From 99e551beb97faab074b757300b8f76f5bfe0f586 Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Mon, 20 May 2024 10:55:42 +0200 Subject: [PATCH 1/2] ci: use github repo for mac runners --- .gitlab/ci/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml index d660077a15..3e652802e6 100644 --- a/.gitlab/ci/build.yml +++ b/.gitlab/ci/build.yml @@ -315,6 +315,18 @@ test_build_system_cmake_macos: - macos_shell variables: SHELL_TEST_SCRIPT: test_build_system_cmake.sh + script: + - ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh + - rm -rf test_build_system + - mkdir test_build_system + - cd test_build_system + # 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 + # export here to override the group variable + # + # Clone the template app from github for macos runners + - export ESP_IDF_TEMPLATE_GIT="https://github.com/espressif/esp-idf-template.git" + - ${IDF_PATH}/tools/ci/${SHELL_TEST_SCRIPT} build_docker: extends: From 68ad59ac93dfc5235328705085aa0f4d1eac85d9 Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Tue, 21 May 2024 05:54:47 +0200 Subject: [PATCH 2/2] ci: make fast_template_app optional --- .gitlab/ci/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml index 3e652802e6..0c603b3816 100644 --- a/.gitlab/ci/build.yml +++ b/.gitlab/ci/build.yml @@ -289,6 +289,7 @@ build_component_ut_esp32c3: needs: - job: fast_template_app artifacts: false + optional: true script: - ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh - rm -rf test_build_system