Merge branch 'ci/update_ethernet_wifi_example_build_rules' into 'master'

ci: update ethernet and wifi examples build rules

Closes IDFCI-1815

See merge request espressif/esp-idf!26246
This commit is contained in:
Jiang Jiang Jian 2023-10-10 14:17:59 +08:00
commit 0b99348c40
2 changed files with 78 additions and 0 deletions

View File

@ -1,13 +1,46 @@
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
examples/ethernet/basic:
enable:
- if: INCLUDE_DEFAULT == 1
depends_components:
- esp_eth
- esp_netif
- lwip
- esp_event
depends_filepatterns:
- components/driver/gpio/**/*
- components/driver/spi/**/*
examples/ethernet/enc28j60:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: target esp32p4 is not supported yet # TODO: IDF-8073
depends_components:
- esp_eth
- esp_netif
- lwip
- esp_event
depends_filepatterns:
- components/driver/gpio/**/*
- components/driver/spi/**/*
examples/ethernet/iperf:
disable_test:
- if: IDF_TARGET not in ["esp32"]
temporary: true
reason: lack of runners
depends_components:
- esp_eth
- esp_netif
- lwip
- esp_event
- console
depends_filepatterns:
- components/driver/gpio/**/*
- components/driver/spi/**/*
- examples/common_components/iperf/**/*
- examples/common_components/protocol_examples_common/**/*
- examples/system/console/advanced/components/cmd_system/**/*
- examples/ethernet/basic/components/ethernet_init/**/*

View File

@ -1,15 +1,33 @@
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
.wifi_depends_default: &wifi_depends_default
depends_components:
- esp_wifi
- esp_phy
- esp_netif
- esp_event
- esp_coex
- wpa_supplicant
- mbedtls
- nvs_flash
- console
- esp_pm
depends_filepatterns:
- examples/common_components/protocol_examples_common/**/*
examples/wifi:
<<: *wifi_depends_default
disable:
- if: SOC_WIFI_SUPPORTED != 1
examples/wifi/ftm:
<<: *wifi_depends_default
disable:
- if: SOC_WIFI_FTM_SUPPORT != 1
reason: requires hardware support
examples/wifi/getting_started:
<<: *wifi_depends_default
disable:
- if: SOC_WIFI_SUPPORTED != 1
disable_test:
@ -26,16 +44,43 @@ examples/wifi/iperf:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
depends_components:
- esp_wifi
- esp_phy
- esp_netif
- lwip
- esp_event
- esp_coex
- wpa_supplicant
depends_filepatterns:
- examples/common_components/iperf/**/*
- examples/system/console/advanced/components/cmd_system/**/*
examples/wifi/itwt:
<<: *wifi_depends_default
disable:
- if: SOC_WIFI_HE_SUPPORT != 1
examples/wifi/power_save:
<<: *wifi_depends_default
disable:
- if: SOC_WIFI_SUPPORTED != 1
depends_filepatterns:
- components/driver/uart/**/*
examples/wifi/wifi_aware:
disable:
- if: SOC_WIFI_NAN_SUPPORT != 1
reason: targets esp32c3, esp32s3, esp32c2 and esp32c6 are not supported
depends_components:
- esp_wifi
- esp_phy
- esp_netif
- lwip
- esp_event
- esp_coex
- wpa_supplicant
- mbedtls
- nvs_flash
depends_filepatterns:
- examples/system/console/advanced/components/**/*