mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
169 lines
3.1 KiB
YAML
169 lines
3.1 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
|
|
|
|
# ---------------
|
|
# Build Test Jobs
|
|
# ---------------
|
|
"build:{0}-{1}":
|
|
matrix:
|
|
- *target_test
|
|
- *all_targets
|
|
labels:
|
|
- build
|
|
patterns:
|
|
- build_components
|
|
- build_system
|
|
- build_target_test
|
|
- downloadable-tools
|
|
included_in:
|
|
- "build:{0}"
|
|
- build:target_test
|
|
|
|
####################
|
|
# Target Test Jobs #
|
|
####################
|
|
"test:{0}-{1}":
|
|
matrix:
|
|
- *target_test
|
|
- *all_targets
|
|
labels: # For each rule, use labels <test_type> and <test_type>-<target>
|
|
- "{0}"
|
|
- "{0}_{1}"
|
|
- target_test
|
|
patterns: # For each rule, use patterns <test_type> and build-<test_type>
|
|
- "{0}"
|
|
- "build-{0}"
|
|
included_in: # Parent rules
|
|
- "build:{0}"
|
|
- "build:{0}-{1}"
|
|
- build:target_test
|
|
|
|
# -------------
|
|
# Special Cases
|
|
# -------------
|
|
|
|
# To reduce the specific runners' usage.
|
|
# Do not create these jobs by default patterns on development branches
|
|
# Can be triggered by labels or related changes
|
|
"test:{0}-{1}-{2}":
|
|
matrix:
|
|
- *target_test
|
|
- *all_targets
|
|
- - wifi # pytest*wifi*
|
|
- ethernet # pytest*ethernet*
|
|
patterns:
|
|
- "{0}-{1}-{2}"
|
|
- "{0}-{2}"
|
|
- "target_test-{2}"
|
|
labels:
|
|
- "{0}_{1}"
|
|
- "{0}"
|
|
- target_test
|
|
included_in:
|
|
- "build:{0}-{1}"
|
|
- "build:{0}"
|
|
- build:target_test
|
|
|
|
# For example_test*flash_encryption_wifi_high_traffic jobs
|
|
# set `INCLUDE_NIGHTLY_RUN` variable when triggered on development branches
|
|
"test:example_test-{0}-include_nightly_run-rule":
|
|
matrix:
|
|
- - esp32
|
|
- esp32c3
|
|
specific_rules:
|
|
- "if-example_test-ota-include_nightly_run-rule"
|
|
included_in:
|
|
- "build:example_test-{0}"
|
|
- "build:example_test"
|
|
- build:target_test
|
|
|
|
"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
|