ci(freertos): Add depends_components attribute to build-test-rules.yml

This commit is contained in:
Guillaume Souchere
2025-12-31 11:15:45 +01:00
parent 40258eb3e1
commit 2c8dfc0afb
3 changed files with 25 additions and 15 deletions

View File

@@ -6,11 +6,17 @@ components/freertos/test_apps/build_tests/freertos_build_test:
- if: IDF_TARGET in ["esp32s31"]
temporary: true
reason: not support yet, smp build failed # TODO: [ESP32S31] IDF-14685
depends_components:
- freertos
- esp_system # trigger on changes to idle / tick hooks, wdt, entry point to freertos code
- esp_hw_support # trigger on changes to cpu.c
components/freertos/test_apps/build_tests/orig_inc_path:
enable:
- if: IDF_TARGET in ["esp32"]
reason: The feature only depends on the build system, nothing target-specific that needs to be tested
depends_components:
- freertos
components/freertos/test_apps/freertos:
disable:
@@ -21,3 +27,9 @@ components/freertos/test_apps/freertos:
temporary: true
reason: not support yet # TODO: [ESP32S31] IDF-14685
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
depends_components:
- freertos
- esp_system # trigger on changes to idle / tick hooks, wdt, entry point to freertos code
- esp_hw_support # trigger on changes to cpu.c
- xtensa
- riscv

View File

@@ -85,21 +85,6 @@ examples/system/flash_suspend:
temporary: true
reason: the other targets are not tested yet
examples/system/freertos/basic_freertos_smp_usage:
enable:
- if: IDF_TARGET == "esp32c3" or IDF_TARGET == "esp32s3"
reason: no target specific functionality, testing on a single core target and a multiple core target is sufficient
depends_components:
- freertos
- console
examples/system/freertos/real_time_stats:
disable:
- if: IDF_TARGET != "esp32" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux")
reason: no target specific functionality, testing on a single target is sufficient
depends_components:
- freertos
examples/system/gcov:
disable_test:
- if: IDF_TARGET == "esp32h21"

View File

@@ -0,0 +1,13 @@
examples/system/freertos/basic_freertos_smp_usage:
enable:
- if: IDF_TARGET == "esp32c3" or IDF_TARGET == "esp32s3"
reason: no target specific functionality, testing on a single core target and a multiple core target is sufficient
depends_components:
- freertos
examples/system/freertos/real_time_stats:
disable:
- if: IDF_TARGET != "esp32" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux")
reason: no target specific functionality, testing on a single target is sufficient
depends_components:
- freertos