mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
ci: add example c3 as a special case for build only
This commit is contained in:
parent
1dfa0e0aa1
commit
d64eafcd7c
@ -145,7 +145,8 @@
|
||||
labels:
|
||||
- example_test_esp32c3
|
||||
included_in:
|
||||
- "build:example_test-esp32c3"
|
||||
- build:example_test-esp32c3
|
||||
- build:target_test
|
||||
|
||||
"test:integration_test":
|
||||
labels:
|
||||
|
@ -217,7 +217,8 @@ class RulesWriter:
|
||||
else:
|
||||
if not (name.endswith('-preview') or name.startswith('labels:')):
|
||||
_rules.append(self.RULE_PROTECTED)
|
||||
if name.startswith('test:'):
|
||||
# Special case for esp32c3 example_test, for now it only run with label
|
||||
if name.startswith('test:') or name == 'labels:example_test-esp32c3':
|
||||
_rules.append(self.RULE_BUILD_ONLY)
|
||||
for label in cfg['labels']:
|
||||
_rules.append(self.RULE_LABEL_TEMPLATE.format(label))
|
||||
|
@ -602,6 +602,7 @@
|
||||
- <<: *if-label-custom_test_esp32s3
|
||||
- <<: *if-label-example_test
|
||||
- <<: *if-label-example_test_esp32
|
||||
- <<: *if-label-example_test_esp32c3
|
||||
- <<: *if-label-example_test_esp32s2
|
||||
- <<: *if-label-example_test_esp32s3
|
||||
- <<: *if-label-integration_test
|
||||
@ -691,6 +692,8 @@
|
||||
|
||||
.rules:labels:example_test-esp32c3:
|
||||
rules:
|
||||
- <<: *if-label-build-only
|
||||
when: never
|
||||
- <<: *if-label-example_test_esp32c3
|
||||
|
||||
.rules:labels:fuzzer_test-weekend_test:
|
||||
|
Loading…
Reference in New Issue
Block a user