-
Notifications
You must be signed in to change notification settings - Fork 105
/
.build-test-rules.yml
119 lines (103 loc) · 4.57 KB
/
.build-test-rules.yml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# Examples: Always build all
examples:
disable:
- if: CONFIG_NAME in ["esp-box", "esp-box-lite"]
reason: Do not build examples for deprecated BSPs
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) and CONFIG_NAME in ["esp_bsp_generic", "esp_bsp_devkit"]
reason: Example depends on BSP, which is supported only for IDF >= 5.2
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 3) and CONFIG_NAME in ["esp32_p4_function_ev_board", "esp-box-3"]
reason: Example depends on BSP, which is supported only for IDF >= 5.3
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 4) and CONFIG_NAME in ["m5stack_core_s3", "esp32_s2_kaluga_kit", "esp32_s3_korvo_2", "esp32_s3_eye"]
reason: Example depends on BSP, which is supported only for IDF >= 5.4
examples/generic_button_led:
disable:
- if: IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2
reason: Requires I2C Driver-NG which was introduced in v5.2
# Noglib test_app: Build only in CI, where ENV_BUILD_NOGLIB is set
test_apps/noglib:
disable:
- if: ENV_BUILD_NOGLIB == 0
# Common components test_app: Build for changes in components which do not have their own test_app or example
test_apps/components:
depends_filepatterns:
- "components/bh1750/**"
- "components/fbm320/**"
- "components/hts221/**"
- "components/lcd/ra8875/**"
- "components/lcd/sh1107/**"
- "components/lcd_touch/**"
- "components/mag3110/**"
- "components/mpu6050/**"
# esp_lvgl_port: Build only on related changes and components used in examples
components/esp_lvgl_port:
depends_filepatterns:
- "components/esp_lvgl_port/**"
- "components/lcd_touch/esp_lcd_touch_tt21100/**"
- "components/lcd_touch/esp_lcd_touch_gt1151/**"
- "components/lcd/sh1107/**"
# LCD components: Build only on related changes
components/lcd/esp_lcd_gc9a01:
depends_filepatterns:
- "components/lcd/esp_lcd_gc9a01/**"
components/lcd/esp_lcd_gc9503:
depends_filepatterns:
- "components/lcd/esp_lcd_gc9503/**"
disable:
- if: (IDF_VERSION_MAJOR < 5 or ((IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR == 0) and ESP_IDF_VERSION_PATCH < 5)) or ((IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR == 1) and ESP_IDF_VERSION_PATCH == 1)
reason: Supported from version 5.0.5 and not supported in version 5.1.1
components/lcd/esp_lcd_ili9341:
depends_filepatterns:
- "components/lcd/esp_lcd_ili9341/**"
components/lcd/esp_lcd_ili9881c:
depends_filepatterns:
- "components/lcd/esp_lcd_ili9881c/**"
disable:
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 3) or IDF_VERSION_MAJOR < 5
reason: Component is supported only for IDF >= 5.3
- if: IDF_TARGET not in ["esp32p4"]
reason: Component is supported only for esp32p4 target
components/lcd/esp_lcd_ssd1681:
depends_filepatterns:
- "components/lcd/esp_lcd_ssd1681/**"
components/lcd/esp_lcd_st7796:
depends_filepatterns:
- "components/lcd/esp_lcd_st7796/**"
components/ds18b20:
depends_filepatterns:
- "components/ds18b20/**"
disable:
- if: SOC_RMT_SUPPORTED != 1
reason: Onewire component depends on RMT peripheral
components/icm42670:
depends_filepatterns:
- "components/icm42670/**"
disable:
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
reason: Requires I2C Driver-NG which was introduced in v5.2
components/qma6100p:
depends_filepatterns:
- "components/qma6100p/**"
disable:
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
reason: Requires I2C Driver-NG which was introduced in v5.2
components/io_expander/esp_io_expander_ht8574:
depends_filepatterns:
- "components/io_expander/esp_io_expander/**"
- "components/io_expander/esp_io_expander_ht8574/**"
disable:
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
reason: Requires I2C Driver-NG which was introduced in v5.2
components/io_expander/esp_io_expander_tca95xx_16bit:
depends_filepatterns:
- "components/io_expander/esp_io_expander/**"
- "components/io_expander/esp_io_expander_tca95xx_16bit/**"
disable:
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
reason: Requires I2C Driver-NG which was introduced in v5.2
components/io_expander/esp_io_expander_tca9554:
depends_filepatterns:
- "components/io_expander/esp_io_expander/**"
- "components/io_expander/esp_io_expander_tca9554/**"
disable:
- if: (IDF_VERSION_MAJOR == 5 and IDF_VERSION_MINOR < 2) or IDF_VERSION_MAJOR < 5
reason: Requires I2C Driver-NG which was introduced in v5.2