mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
ci: add build system test on macOS
This commit is contained in:
@@ -135,6 +135,17 @@ after_script:
|
|||||||
dependencies: []
|
dependencies: []
|
||||||
extends: .before_script_lesser_nofilter
|
extends: .before_script_lesser_nofilter
|
||||||
|
|
||||||
|
.macos_build_template:
|
||||||
|
stage: build
|
||||||
|
tags:
|
||||||
|
- macos_shell
|
||||||
|
dependencies: []
|
||||||
|
before_script:
|
||||||
|
- *apply_bot_filter
|
||||||
|
- *setup_tools_unless_target_test
|
||||||
|
- *setup_custom_toolchain
|
||||||
|
- source tools/ci/configure_ci_environment.sh
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- '/tools/ci/config/build.yml'
|
- '/tools/ci/config/build.yml'
|
||||||
- '/tools/ci/config/assign-test.yml'
|
- '/tools/ci/config/assign-test.yml'
|
||||||
|
@@ -308,6 +308,27 @@ test_build_system_cmake:
|
|||||||
- cd test_build_system
|
- cd test_build_system
|
||||||
- ${IDF_PATH}/tools/ci/test_build_system_cmake.sh
|
- ${IDF_PATH}/tools/ci/test_build_system_cmake.sh
|
||||||
|
|
||||||
|
test_build_system_cmake_macos:
|
||||||
|
extends: .macos_build_template
|
||||||
|
only:
|
||||||
|
refs:
|
||||||
|
- master
|
||||||
|
- /^release\/v/
|
||||||
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
||||||
|
- schedules
|
||||||
|
- triggers
|
||||||
|
- pipelines
|
||||||
|
- web
|
||||||
|
variables:
|
||||||
|
- $CI_PIPELINE_SOURCE != "push" && $BOT_LABEL_MACOS_TEST != null
|
||||||
|
- $CI_PIPELINE_SOURCE == "push"
|
||||||
|
script:
|
||||||
|
- ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
|
||||||
|
- rm -rf test_build_system
|
||||||
|
- mkdir test_build_system
|
||||||
|
- cd test_build_system
|
||||||
|
- ${IDF_PATH}/tools/ci/test_build_system_cmake.sh
|
||||||
|
|
||||||
build_docker:
|
build_docker:
|
||||||
stage: build
|
stage: build
|
||||||
image: espressif/docker-builder:1
|
image: espressif/docker-builder:1
|
||||||
|
Reference in New Issue
Block a user