-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy path.build-test-rules.yml
More file actions
95 lines (79 loc) · 2.35 KB
/
.build-test-rules.yml
File metadata and controls
95 lines (79 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
device/esp_tinyusb:
depends_filepatterns:
- 'device/esp_tinyusb/**'
enable:
- if: SOC_USB_OTG_SUPPORTED == 1
host/class/cdc:
depends_filepatterns:
- 'host/class/cdc/**'
- 'host/usb/**'
- 'device/esp_tinyusb/**' # For MSC mock device
enable:
- if: SOC_USB_OTG_SUPPORTED == 1
host/class/hid:
depends_filepatterns:
- 'host/class/hid/**'
- 'host/usb/**'
- 'device/esp_tinyusb/**' # For HID mock device
enable:
- if: SOC_USB_OTG_SUPPORTED == 1
host/class/msc:
depends_filepatterns:
- 'host/class/msc/**'
- 'host/usb/**'
- 'device/esp_tinyusb/**' # For MSC mock device
enable:
- if: SOC_USB_OTG_SUPPORTED == 1
type_c:
depends_filepatterns:
- 'type_c/**'
disable:
- if: IDF_TARGET in ["linux"]
- if: SOC_I2C_SUPPORTED == 0
reason: Type-C TCPM backend requires I2C support (FUSB302)
host/class/uac:
depends_filepatterns:
- 'host/class/uac/**'
- 'host/usb/**'
enable:
- if: SOC_USB_OTG_SUPPORTED == 1
host/class/uvc:
depends_filepatterns:
- 'host/class/uvc/**'
- 'host/usb/**'
enable:
- if: SOC_USB_OTG_SUPPORTED == 1
host/class/uvc/usb_host_uvc/examples/camera_display:
depends_filepatterns:
- 'host/class/uvc/**'
enable:
- if: (IDF_VERSION >= "5.3.0")
reason: This example uses esp_lcd API introduced in v5.3
host/usb:
depends_filepatterns:
- 'host/usb/**'
enable:
- if: SOC_USB_OTG_SUPPORTED == 1 and ENV_VAR_USB_COMP_MANAGED == "yes"
reason: USB Component tests with native USB component are already running in esp-idf CI
disable:
- if: IDF_VERSION < "5.4.0"
reason: We will support component overriding only in service releases
# Host tests
.host_test_enable_rules: &host_test_enable_rules
enable:
- if: IDF_TARGET in ["linux"] and (IDF_VERSION >= "6.1.0")
reason: USB mocks are run only for the latest version of IDF
host/class/cdc/usb_host_cdc_acm/host_test:
<<: *host_test_enable_rules
host/class/hid/usb_host_hid/host_test:
<<: *host_test_enable_rules
host/class/msc/usb_host_msc/host_test:
<<: *host_test_enable_rules
host/class/uvc/usb_host_uvc/host_test:
<<: *host_test_enable_rules
host/class/uac/usb_host_uac/host_test:
<<: *host_test_enable_rules
host/usb/test/host_test/usb_host_layer_test:
<<: *host_test_enable_rules
host/usb/test/host_test/usbh_layer_test:
<<: *host_test_enable_rules