.build-test-rules.yml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. # Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
  2. .i2c_dependencies: &i2c_dependencies
  3. depends_filepatterns:
  4. # components
  5. - examples/system/console/advanced/components/**/*
  6. - components/driver/i2c/**/*
  7. - components/driver/Kconfig
  8. examples/peripherals/adc/continuous_read:
  9. disable:
  10. - if: SOC_ADC_DMA_SUPPORTED != 1
  11. examples/peripherals/adc/oneshot_read:
  12. disable:
  13. - if: SOC_ADC_SUPPORTED != 1
  14. examples/peripherals/analog_comparator:
  15. disable:
  16. - if: SOC_ANA_CMPR_SUPPORTED != 1
  17. disable_test:
  18. - if: IDF_TARGET == "esp32p4"
  19. temporary: true
  20. reason: not supported yet
  21. examples/peripherals/dac:
  22. disable:
  23. - if: SOC_DAC_SUPPORTED != 1
  24. examples/peripherals/gpio:
  25. depends_components:
  26. - esp_driver_gpio
  27. examples/peripherals/gpio/matrix_keyboard:
  28. enable:
  29. - if: IDF_TARGET == "esp32s2"
  30. examples/peripherals/i2c/i2c_self_test:
  31. disable:
  32. - if: SOC_I2C_SUPPORT_SLAVE != 1
  33. reason: the test requires both master and slave
  34. <<: *i2c_dependencies
  35. examples/peripherals/i2c/i2c_simple:
  36. disable:
  37. - if: SOC_I2C_SUPPORT_SLAVE != 1
  38. reason: the test requires both master and slave
  39. <<: *i2c_dependencies
  40. examples/peripherals/i2c/i2c_tools:
  41. disable:
  42. - if: SOC_I2C_SUPPORTED != 1
  43. disable_test:
  44. - if: IDF_TARGET != "esp32"
  45. temporary: true
  46. reason: lack of runners
  47. <<: *i2c_dependencies
  48. examples/peripherals/i2s/i2s_basic/i2s_pdm:
  49. disable:
  50. - if: SOC_I2S_SUPPORTS_PDM != 1 or IDF_TARGET == "esp32p4"
  51. disable_test:
  52. - if: IDF_TARGET == "esp32p4"
  53. temporary: true
  54. reason: lack of runners
  55. examples/peripherals/i2s/i2s_basic/i2s_std:
  56. disable:
  57. - if: SOC_I2S_SUPPORTED != 1 or IDF_TARGET == "esp32p4"
  58. disable_test:
  59. - if: IDF_TARGET == "esp32p4"
  60. temporary: true
  61. reason: lack of runners
  62. examples/peripherals/i2s/i2s_basic/i2s_tdm:
  63. disable:
  64. - if: SOC_I2S_SUPPORTS_TDM != 1 or IDF_TARGET == "esp32p4"
  65. disable_test:
  66. - if: IDF_TARGET == "esp32p4"
  67. temporary: true
  68. reason: lack of runners
  69. examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm:
  70. disable:
  71. - if: SOC_I2S_SUPPORTS_TDM != 1 or (SOC_I2C_SUPPORTED != 1 or SOC_GPSPI_SUPPORTED != 1)
  72. reason: rely on I2S TDM mode to receive audio, I2C to config es7210 and SPI to save audio to SD card
  73. disable_test:
  74. - if: IDF_TARGET == "esp32p4"
  75. temporary: true
  76. reason: lack of runners
  77. examples/peripherals/i2s/i2s_codec/i2s_es8311:
  78. disable:
  79. - if: (SOC_I2S_SUPPORTED != 1 or SOC_I2C_SUPPORTED != 1)
  80. reason: rely on I2S STD mode and I2C to config es7210
  81. disable_test:
  82. - if: IDF_TARGET == "esp32p4"
  83. temporary: true
  84. reason: lack of runners
  85. examples/peripherals/i2s/i2s_recorder:
  86. disable:
  87. - if: SOC_SDMMC_HOST_SUPPORTED != 1 or IDF_TARGET == "esp32p4"
  88. enable:
  89. - if: SOC_I2S_SUPPORTS_PDM_RX > 0
  90. examples/peripherals/lcd/i2c_oled:
  91. disable:
  92. - if: SOC_I2C_SUPPORTED != 1
  93. depends_components:
  94. - esp_lcd
  95. depends_filepatterns:
  96. - components/driver/i2c/**/*
  97. examples/peripherals/lcd/i80_controller:
  98. disable:
  99. - if: SOC_LCD_I80_SUPPORTED != 1
  100. depends_components:
  101. - esp_lcd
  102. depends_filepatterns:
  103. - components/driver/i2s/**/* # i80 IO driver relies on I2S on esp32 and esp32s2
  104. examples/peripherals/lcd/rgb_panel:
  105. disable:
  106. - if: SOC_LCD_RGB_SUPPORTED != 1
  107. depends_components:
  108. - esp_lcd
  109. examples/peripherals/lcd/spi_lcd_touch:
  110. disable:
  111. - if: SOC_GPSPI_SUPPORTED != 1
  112. depends_components:
  113. - esp_lcd
  114. - esp_driver_spi
  115. examples/peripherals/lcd/tjpgd:
  116. disable:
  117. - if: SOC_GPSPI_SUPPORTED != 1
  118. depends_components:
  119. - esp_lcd
  120. - esp_driver_spi
  121. examples/peripherals/ledc:
  122. disable:
  123. - if: SOC_LEDC_SUPPORTED != 1
  124. examples/peripherals/ledc/ledc_gamma_curve_fade:
  125. disable:
  126. - if: SOC_LEDC_SUPPORTED != 1 or SOC_LEDC_GAMMA_CURVE_FADE_SUPPORTED != 1
  127. examples/peripherals/mcpwm:
  128. disable:
  129. - if: SOC_MCPWM_SUPPORTED != 1
  130. depends_components:
  131. - esp_driver_mcpwm
  132. examples/peripherals/mcpwm/mcpwm_bdc_speed_control:
  133. disable:
  134. - if: SOC_MCPWM_SUPPORTED != 1
  135. depends_components:
  136. - esp_driver_mcpwm
  137. disable_test:
  138. - if: IDF_TARGET != "esp32s3"
  139. temporary: true
  140. reason: lack of runners
  141. examples/peripherals/mcpwm/mcpwm_bldc_hall_control:
  142. disable:
  143. - if: SOC_MCPWM_SUPPORTED != 1
  144. depends_components:
  145. - esp_driver_mcpwm
  146. disable_test:
  147. - if: IDF_TARGET != "esp32s3"
  148. temporary: true
  149. reason: lack of runners
  150. examples/peripherals/mcpwm/mcpwm_foc_svpwm_open_loop:
  151. disable:
  152. - if: SOC_MCPWM_SUPPORTED != 1
  153. depends_components:
  154. - esp_driver_mcpwm
  155. disable_test:
  156. - if: IDF_TARGET != "esp32s3"
  157. temporary: true
  158. reason: lack of runners
  159. examples/peripherals/parlio:
  160. disable:
  161. - if: SOC_PARLIO_SUPPORTED != 1
  162. disable_test:
  163. - if: IDF_TARGET == "esp32p4"
  164. temporary: true
  165. reason: lack of runner
  166. examples/peripherals/parlio/simple_rgb_led_matrix:
  167. disable:
  168. - if: SOC_PARLIO_SUPPORTED != 1 or SOC_DEDICATED_GPIO_SUPPORTED != 1
  169. disable_test:
  170. - if: IDF_TARGET != "esp32c6"
  171. temporary: true
  172. reason: lack of runners
  173. examples/peripherals/pcnt:
  174. disable:
  175. - if: SOC_PCNT_SUPPORTED != 1
  176. depends_components:
  177. - esp_driver_pcnt
  178. examples/peripherals/rmt:
  179. disable:
  180. - if: SOC_RMT_SUPPORTED != 1
  181. examples/peripherals/rmt/ir_nec_transceiver:
  182. disable:
  183. - if: SOC_RMT_SUPPORTED != 1
  184. disable_test:
  185. - if: IDF_TARGET != "esp32"
  186. temporary: true
  187. reason: lack of runners
  188. examples/peripherals/rmt/musical_buzzer:
  189. disable:
  190. - if: SOC_RMT_SUPPORT_TX_LOOP_COUNT != 1
  191. examples/peripherals/rmt/stepper_motor:
  192. disable:
  193. - if: SOC_RMT_SUPPORT_TX_LOOP_AUTO_STOP != 1
  194. examples/peripherals/sdio/host:
  195. disable:
  196. - if: IDF_TARGET == "esp32p4"
  197. temporary: true
  198. reason: request p4 essl spi to be ready for build, TODO IDF-8357
  199. enable:
  200. - if: SOC_SDMMC_HOST_SUPPORTED == 1
  201. - if: IDF_TARGET == "esp32"
  202. temporary: true
  203. reason: Only the SDSPI of ESP32 supports ESP SDIO slave for now
  204. disable_test:
  205. - if: IDF_TARGET != "esp32"
  206. temporary: true
  207. reason: lack of runners
  208. examples/peripherals/sdio/slave:
  209. disable:
  210. - if: SOC_SDIO_SLAVE_SUPPORTED != 1
  211. disable_test:
  212. - if: IDF_TARGET != "esp32"
  213. temporary: true
  214. reason: lack of runners
  215. examples/peripherals/secure_element/atecc608_ecdsa:
  216. enable:
  217. - if: IDF_TARGET == "esp32"
  218. temporary: true
  219. reason: the other targets are not tested yet
  220. examples/peripherals/sigma_delta:
  221. disable:
  222. - if: SOC_SDM_SUPPORTED != 1
  223. examples/peripherals/spi_master/hd_eeprom:
  224. disable:
  225. - if: SOC_GPSPI_SUPPORTED != 1
  226. examples/peripherals/spi_master/lcd:
  227. disable:
  228. - if: SOC_GPSPI_SUPPORTED != 1
  229. examples/peripherals/spi_slave:
  230. disable:
  231. - if: SOC_GPSPI_SUPPORTED != 1
  232. examples/peripherals/spi_slave_hd/append_mode/master:
  233. disable:
  234. - if: SOC_GPSPI_SUPPORTED != 1 or SOC_SPI_SUPPORT_SLAVE_HD_VER2 != 1
  235. examples/peripherals/spi_slave_hd/append_mode/slave:
  236. disable:
  237. - if: SOC_GPSPI_SUPPORTED != 1 or SOC_SPI_SUPPORT_SLAVE_HD_VER2 != 1
  238. examples/peripherals/spi_slave_hd/segment_mode/seg_master:
  239. disable:
  240. - if: SOC_GPSPI_SUPPORTED != 1 or SOC_SPI_SUPPORT_SLAVE_HD_VER2 != 1
  241. examples/peripherals/spi_slave_hd/segment_mode/seg_slave:
  242. disable:
  243. - if: SOC_GPSPI_SUPPORTED != 1 or SOC_SPI_SUPPORT_SLAVE_HD_VER2 != 1
  244. examples/peripherals/temperature_sensor/temp_sensor:
  245. disable:
  246. - if: SOC_TEMP_SENSOR_SUPPORTED != 1
  247. examples/peripherals/temperature_sensor/temp_sensor_monitor:
  248. disable:
  249. - if: SOC_TEMPERATURE_SENSOR_INTR_SUPPORT != 1
  250. examples/peripherals/timer_group/gptimer:
  251. disable:
  252. - if: SOC_GPTIMER_SUPPORTED != 1
  253. depends_components:
  254. - esp_driver_gptimer
  255. examples/peripherals/timer_group/gptimer_capture_hc_sr04:
  256. disable:
  257. - if: SOC_TIMER_SUPPORT_ETM != 1
  258. depends_components:
  259. - esp_driver_gptimer
  260. examples/peripherals/timer_group/legacy_driver:
  261. disable:
  262. - if: SOC_GPTIMER_SUPPORTED != 1
  263. depends_components:
  264. - driver # legacy driver is still located in the "driver" component
  265. examples/peripherals/touch_sensor:
  266. disable:
  267. - if: SOC_TOUCH_SENSOR_SUPPORTED != 1
  268. examples/peripherals/touch_sensor/touch_element:
  269. enable:
  270. - if: IDF_TARGET in ["esp32s2", "esp32s3"]
  271. reason: only supports esp32s2 and esp32s3
  272. examples/peripherals/touch_sensor/touch_sensor_v1:
  273. disable:
  274. - if: SOC_TOUCH_SENSOR_VERSION != 1
  275. examples/peripherals/touch_sensor/touch_sensor_v2:
  276. disable:
  277. - if: SOC_TOUCH_SENSOR_VERSION != 2
  278. examples/peripherals/twai/twai_alert_and_recovery:
  279. disable:
  280. - if: SOC_TWAI_SUPPORTED != 1
  281. disable_test:
  282. - if: IDF_TARGET not in ["esp32"]
  283. temporary: true
  284. reason: lack of runners
  285. examples/peripherals/twai/twai_network:
  286. disable:
  287. - if: SOC_TWAI_SUPPORTED != 1
  288. disable_test:
  289. - if: IDF_TARGET not in ["esp32"]
  290. temporary: true
  291. reason: lack of runners
  292. examples/peripherals/twai/twai_self_test:
  293. disable:
  294. - if: SOC_TWAI_SUPPORTED != 1
  295. disable_test:
  296. - if: IDF_TARGET not in ["esp32"]
  297. temporary: true
  298. reason: lack of runners
  299. examples/peripherals/uart/uart_echo_rs485:
  300. enable:
  301. - if: INCLUDE_DEFAULT == 1
  302. examples/peripherals/usb:
  303. disable:
  304. - if: SOC_USB_OTG_SUPPORTED != 1