mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fba96d58c2
build: - upgrade idf-build-apps to 2.x - unify get_pytest_apps and get_cmake_apps to get_all_apps - returns (test_apps, non_test_apps) tuple - add tests for the new get_all_apps assign: - generate build report - generate target test pipeline based on the build report target test: - download artifacts from minio server - users can use `pytest --pipeline-id xxxxx` to download and flash the binaries from the artifacts .post: - generate target test reports
93 lines
1.5 KiB
YAML
93 lines
1.5 KiB
YAML
.all_targets: &all_targets
|
|
- esp32
|
|
- esp32s2
|
|
- esp32s3
|
|
- esp32c3
|
|
- esp32c2
|
|
- esp32c6
|
|
- esp32c5
|
|
- esp32h2
|
|
- esp32p4
|
|
|
|
.target_test: &target_test
|
|
- example_test
|
|
- custom_test
|
|
- component_ut
|
|
|
|
##############
|
|
# Build Jobs #
|
|
##############
|
|
"build":
|
|
labels:
|
|
- build
|
|
patterns:
|
|
- build_components
|
|
- build_system
|
|
- downloadable-tools
|
|
included_in:
|
|
- build:target_test
|
|
- build:check
|
|
|
|
# -------------------
|
|
# Specific Build Jobs
|
|
# -------------------
|
|
"build:docker":
|
|
labels:
|
|
- build
|
|
- docker
|
|
patterns:
|
|
- docker
|
|
- submodule
|
|
- build_system
|
|
- downloadable-tools
|
|
|
|
"build:macos":
|
|
labels:
|
|
- build
|
|
- macos
|
|
- macos_test # for backward compatibility
|
|
patterns:
|
|
- build_system
|
|
- build_macos
|
|
- downloadable-tools
|
|
|
|
# ---------------------------
|
|
# Add patterns to build rules
|
|
# ---------------------------
|
|
"patterns:template-app":
|
|
patterns:
|
|
- build_template-app
|
|
included_in:
|
|
- build:target_test
|
|
|
|
"patterns:build-check":
|
|
patterns:
|
|
- build_check
|
|
included_in:
|
|
- build:check
|
|
|
|
"test:host_test":
|
|
labels:
|
|
- host_test
|
|
patterns:
|
|
- host_test
|
|
|
|
"test:submodule":
|
|
labels:
|
|
- submodule
|
|
patterns:
|
|
- submodule
|
|
|
|
#################################
|
|
# Triggered Only By Labels Jobs #
|
|
#################################
|
|
"labels:nvs_coverage": # host_test
|
|
labels:
|
|
- nvs_coverage
|
|
|
|
"labels:windows_pytest_build_system":
|
|
labels:
|
|
- windows
|
|
specific_rules:
|
|
- if-schedule-test-build-system-windows
|