esp-idf/examples/system/.build-test-rules.yml
Wan Lei ae5c7d46d1 Merge branch 'ci/enable_c61_target_test' into 'master'
ci(esp32c61): enable c61 generic target test

Closes IDF-9285 and IDF-9288

See merge request espressif/esp-idf!33088
2024-09-03 11:53:02 +08:00

412 lines
11 KiB
YAML

# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
examples/system/app_trace_basic:
disable:
- if: IDF_TARGET in ["esp32c6", "esp32h2", "esp32p4", "esp32c5", "esp32c61"]
temporary: true
reason: targets not supported yet, TODO[C61] IDF-9264 IDF-10992
examples/system/base_mac_address:
disable_test:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: test failed # TODO: IDF-10956
depends_components:
- esp_hw_support
examples/system/console/advanced:
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3"] # IDF-9120 and IDF-9133
reason: Sufficient to run this app on one chip with each architecture
depends_components:
- console
- vfs
examples/system/console/basic:
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3"]
reason: Sufficient to run this app on one chip with each architecture
depends_components:
- console
- vfs
examples/system/deep_sleep:
disable:
- if: SOC_DEEP_SLEEP_SUPPORTED != 1
examples/system/deep_sleep_wake_stub:
disable:
- if: IDF_TARGET in ["esp32c2", "esp32p4", "esp32c61"]
temporary: true
reason: target(s) is not supported yet # TODO: [esp32c61] IDF-9245
examples/system/efuse:
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
disable:
- if: IDF_TARGET not in ["esp32", "linux"] and NIGHTLY_RUN != "1"
- if: IDF_TARGET == "linux" and CONFIG_NAME == "virt_flash_enc"
- if: IDF_TARGET == "linux" and CONFIG_NAME == "virt_flash_enc_release"
- if: IDF_TARGET == "linux" and CONFIG_NAME == "virt_sb_v2_and_fe"
- if: IDF_TARGET == "linux" and CONFIG_NAME == "virt_secure_boot_v2"
reason: Security features are not yet supported for Linux.
depends_components:
- efuse
- bootloader_support
examples/system/esp_timer:
disable:
- if: SOC_LIGHT_SLEEP_SUPPORTED != 1
depends_components:
- esp_timer
examples/system/eventfd:
disable:
- if: SOC_GPTIMER_SUPPORTED != 1 and (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:
- vfs
- esp_driver_gptimer
examples/system/flash_suspend:
enable:
- if: IDF_TARGET == "esp32c3"
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
- esp_timer
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 != "esp32"
temporary: true
reason: lack of runners
examples/system/gdbstub:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported yet #TODO: IDF-7510
examples/system/heap_task_tracking:
disable:
- if: IDF_TARGET != "esp32c3" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux")
reason: no target specific functionality, testing on a single target is sufficient
depends_components:
- heap
examples/system/himem:
enable:
- if: IDF_TARGET == "esp32"
reason: Feature is only needed/supported on ESP32
examples/system/ipc/ipc_isr/riscv:
enable:
- if: IDF_TARGET_ARCH_RISCV == 1 and ESP_IPC_ISR_ENABLE == 1
reason: The test is intended only for multi-core chips
disable_test:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: lack of runners
depends_components:
- esp_system
examples/system/ipc/ipc_isr/xtensa:
enable:
- if: IDF_TARGET_ARCH_XTENSA == 1 and ESP_IPC_ISR_ENABLE == 1
reason: The test is intended only for multi-core chips
depends_components:
- esp_system
examples/system/light_sleep:
disable:
- if: SOC_LIGHT_SLEEP_SUPPORTED != 1
examples/system/nmi_isr:
enable:
- if: IDF_TARGET_ARCH_XTENSA == 1
reason: test NMI for Xtensa targets only
examples/system/ota/advanced_https_ota:
disable:
- if: IDF_TARGET in ["esp32h2", "esp32c61"]
temporary: true
reason: target esp32h2 esp32c61 is not supported yet
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
temporary: true
reason: lack of runners
depends_components:
- app_update
- esp_https_ota
- esp_http_client
# different configs need different components
- esp_eth
- esp_wifi
- esp_phy
- bt
- protocol_examples_common
examples/system/ota/native_ota_example:
disable:
- if: IDF_TARGET in ["esp32h2", "esp32c61"]
temporary: true
reason: target esp32h2, esp32c61 is not supported yet
disable_test:
- if: IDF_TARGET != "esp32"
reason: Only esp32 has ethernet runners
depends_components:
- app_update
- esp_https_ota
- esp_http_client
- esp_eth
- esp_driver_gpio
- bootloader_support
- protocol_examples_common
examples/system/ota/otatool:
disable:
- if: IDF_TARGET in ["esp32h2", "esp32c61"]
temporary: true
reason: target esp32h2, esp32c61 is not supported yet
disable_test:
- if: IDF_TARGET in ["esp32c5"]
reason: incomplete esptool support for esp32c5 # IDF-10915
examples/system/ota/pre_encrypted_ota:
disable:
- if: IDF_TARGET in ["esp32h2", "esp32c61"]
temporary: true
reason: target esp32h2, esp32c61 is not supported yet
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: Only esp32 has ethernet runners
depends_components:
- app_update
- esp_https_ota
- esp_http_client
- esp_eth
- mbedtls
- bootloader_support
- protocol_examples_common
examples/system/ota/simple_ota_example:
disable:
- if: IDF_TARGET in ["esp32h2", "esp32c61"]
temporary: true
reason: target esp32h2, esp32c61 is not supported yet
- if: CONFIG_NAME == "spiram" and SOC_SPIRAM_SUPPORTED != 1
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
temporary: true
reason: lack of runners
depends_components:
- app_update
- esp_https_ota
- esp_http_client
# different configs need different components
- esp_eth
- esp_wifi
- esp_phy
- mbedtls
examples/system/perfmon:
enable:
- if: IDF_TARGET in ["esp32", "esp32s2", "esp32s3"] and NIGHTLY_RUN == "1"
reason: xtensa only feature
- if: IDF_TARGET == "esp32"
reason: testing on a single target is sufficient
depends_components:
- perfmon
examples/system/pthread:
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:
- pthread
examples/system/rt_mqueue:
disable_test:
- 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:
- rt
examples/system/select:
disable:
- if: IDF_TARGET != "esp32c3" and (NIGHTLY_RUN != "1" or IDF_TARGET == "linux")
reason: no target specific functionality, testing on a single target is sufficient
depends_components:
- vfs
examples/system/sysview_tracing:
disable:
- if: SOC_GPTIMER_SUPPORTED != 1
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/system/sysview_tracing_heap_log:
disable:
- if: SOC_GPTIMER_SUPPORTED != 1
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/system/task_watchdog:
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:
- esp_system
examples/system/ulp/lp_core/build_system:
enable:
- if: SOC_LP_CORE_SUPPORTED == 1
depends_components:
- ulp
examples/system/ulp/lp_core/gpio:
disable:
- if: SOC_DEEP_SLEEP_SUPPORTED != 1
enable:
- if: (SOC_LP_CORE_SUPPORTED == 1) and (SOC_RTCIO_PIN_COUNT > 0)
depends_components:
- ulp
examples/system/ulp/lp_core/gpio_intr_pulse_counter:
disable:
- if: IDF_TARGET == "esp32c5" # TODO: IDF-10918
temporary: true
reason: unknown error
enable:
- if: (SOC_LP_CORE_SUPPORTED == 1) and (SOC_ULP_LP_UART_SUPPORTED == 1 and SOC_DEEP_SLEEP_SUPPORTED == 1)
depends_components:
- ulp
examples/system/ulp/lp_core/interrupt:
enable:
- if: SOC_LP_CORE_SUPPORTED == 1
depends_components:
- ulp
examples/system/ulp/lp_core/lp_i2c:
enable:
- if: SOC_LP_I2C_SUPPORTED == 1 and SOC_DEEP_SLEEP_SUPPORTED == 1
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: target esp32p4 is not supported yet, TODO IDF-9407
depends_components:
- ulp
examples/system/ulp/lp_core/lp_uart/lp_uart_echo:
disable:
- if: (SOC_ULP_LP_UART_SUPPORTED != 1) or (SOC_DEEP_SLEEP_SUPPORTED != 1)
depends_components:
- ulp
examples/system/ulp/lp_core/lp_uart/lp_uart_print:
disable:
- if: (SOC_ULP_LP_UART_SUPPORTED != 1) or (SOC_DEEP_SLEEP_SUPPORTED != 1)
depends_components:
- ulp
examples/system/ulp/ulp_fsm/ulp:
disable:
- if: SOC_ULP_FSM_SUPPORTED != 1
depends_components:
- ulp
examples/system/ulp/ulp_fsm/ulp_adc:
enable:
- if: IDF_TARGET in ["esp32", "esp32s3"]
temporary: true
reason: the other targets are not tested yet
depends_components:
- ulp
examples/system/ulp/ulp_riscv/adc:
enable:
- if: SOC_RISCV_COPROC_SUPPORTED == 1
depends_components:
- ulp
examples/system/ulp/ulp_riscv/ds18b20_onewire:
enable:
- if: IDF_TARGET == "esp32s2"
temporary: true
reason: the other targets are not tested yet
depends_components:
- ulp
examples/system/ulp/ulp_riscv/gpio:
enable:
- if: SOC_RISCV_COPROC_SUPPORTED == 1
depends_components:
- ulp
examples/system/ulp/ulp_riscv/gpio_interrupt:
enable:
- if: SOC_RISCV_COPROC_SUPPORTED == 1
depends_components:
- ulp
examples/system/ulp/ulp_riscv/i2c:
enable:
- if: SOC_RISCV_COPROC_SUPPORTED == 1
depends_components:
- ulp
examples/system/ulp/ulp_riscv/interrupts:
enable:
- if: SOC_RISCV_COPROC_SUPPORTED == 1
depends_components:
- ulp
examples/system/ulp/ulp_riscv/touch:
enable:
- if: SOC_RISCV_COPROC_SUPPORTED == 1
depends_components:
- ulp
examples/system/ulp/ulp_riscv/uart_print:
enable:
- if: SOC_RISCV_COPROC_SUPPORTED == 1
depends_components:
- ulp
examples/system/unit_test/:
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:
- unity
examples/system/xip_from_psram:
enable:
- if: SOC_SPIRAM_SUPPORTED == 1 and SOC_SPIRAM_XIP_SUPPORTED == 1
reason: this feature is supported on chips that have PSRAM
disable:
- if: IDF_TARGET == "esp32"
reason: target esp32 doesn't support this feature.