ci(wifi): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml

This commit is contained in:
Fu Hanxi 2023-11-30 17:01:23 +01:00
parent bb375ee79a
commit 114af706bb
No known key found for this signature in database
GPG Key ID: 19399699CF3C4B16
6 changed files with 52 additions and 566 deletions

View File

@ -103,31 +103,6 @@
- "build:{0}-{1}"
- build:target_test
# -------------
# Special Cases
# -------------
# To reduce the specific runners' usage.
# Do not create these jobs by default patterns on development branches
# Can be triggered by labels or related changes
"test:{0}-{1}-{2}":
matrix:
- *target_test
- *all_targets
- - wifi # pytest*wifi*
patterns:
- "{0}-{1}-{2}"
- "{0}-{2}"
- "target_test-{2}"
labels:
- "{0}_{1}"
- "{0}"
- target_test
included_in:
- "build:{0}-{1}"
- "build:{0}"
- build:target_test
"test:host_test":
labels:
- host_test

View File

@ -83,16 +83,6 @@
- "components/**/*"
.patterns-target_test-wifi: &patterns-target_test-wifi
- "components/{esp_wifi,esp_netif,lwip,esp_phy,wpa_supplicant,esp_coex}/???[!t]*/**/*"
- "components/{esp_wifi,esp_netif,lwip,esp_phy,wpa_supplicant,esp_coex}/??[!s]?*/**/*"
- "components/{esp_wifi,esp_netif,lwip,esp_phy,wpa_supplicant,esp_coex}/???/**/*"
- "components/{esp_wifi,esp_netif,lwip,esp_phy,wpa_supplicant,esp_coex}/??/**/*"
- "components/{esp_wifi,esp_netif,lwip,esp_phy,wpa_supplicant,esp_coex}/*"
.patterns-component_ut-wifi: &patterns-component_ut-wifi
- "components/esp_wifi/**/*"
.patterns-build_macos: &patterns-build_macos
- "tools/ci/test_configure_ci_environment.sh"
@ -181,25 +171,6 @@
- "components/bt/esp_ble_mesh/lib/lib"
- ".gitmodules"
# for jobs: example_test*wifi*
.patterns-example_test-wifi: &patterns-example_test-wifi
- "tools/ci/python_packages/common_test_methods.py"
- "examples/common_components/protocol_examples_common/**/*"
- "examples/protocols/**/*"
- "examples/wifi/**/*"
- "examples/network/simple_sniffer/**/*"
- "components/mbedtls/port/dynamic/*"
# ota
- "examples/system/ota/**/*"
- "components/app_update/include/*"
- "components/app_update/*"
- "components/esp_https_ota/**/*"
# for jobs: custom_test*wifi*
.patterns-custom_test-wifi: &patterns-custom_test-wifi
- "tools/test_apps/phy/**/*"
##############
# if anchors #
##############
@ -489,24 +460,8 @@
changes: *patterns-build_system
- <<: *if-dev-push
changes: *patterns-component_ut
- <<: *if-dev-push
changes: *patterns-component_ut-adc
- <<: *if-dev-push
changes: *patterns-component_ut-flash_multi
- <<: *if-dev-push
changes: *patterns-component_ut-i154
- <<: *if-dev-push
changes: *patterns-component_ut-nvs_encr_hmac
- <<: *if-dev-push
changes: *patterns-component_ut-sdio
- <<: *if-dev-push
changes: *patterns-component_ut-usb
- <<: *if-dev-push
changes: *patterns-component_ut-wifi
- <<: *if-dev-push
changes: *patterns-downloadable-tools
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:build:component_ut-esp32:
rules:
@ -523,24 +478,8 @@
changes: *patterns-build_system
- <<: *if-dev-push
changes: *patterns-component_ut
- <<: *if-dev-push
changes: *patterns-component_ut-adc
- <<: *if-dev-push
changes: *patterns-component_ut-flash_multi
- <<: *if-dev-push
changes: *patterns-component_ut-i154
- <<: *if-dev-push
changes: *patterns-component_ut-nvs_encr_hmac
- <<: *if-dev-push
changes: *patterns-component_ut-sdio
- <<: *if-dev-push
changes: *patterns-component_ut-usb
- <<: *if-dev-push
changes: *patterns-component_ut-wifi
- <<: *if-dev-push
changes: *patterns-downloadable-tools
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:build:component_ut-esp32c2:
rules:
@ -823,12 +762,8 @@
changes: *patterns-build_system
- <<: *if-dev-push
changes: *patterns-custom_test
- <<: *if-dev-push
changes: *patterns-custom_test-wifi
- <<: *if-dev-push
changes: *patterns-downloadable-tools
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:build:custom_test-esp32:
rules:
@ -845,12 +780,8 @@
changes: *patterns-build_system
- <<: *if-dev-push
changes: *patterns-custom_test
- <<: *if-dev-push
changes: *patterns-custom_test-wifi
- <<: *if-dev-push
changes: *patterns-downloadable-tools
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:build:custom_test-esp32c2:
rules:
@ -867,16 +798,8 @@
changes: *patterns-build_system
- <<: *if-dev-push
changes: *patterns-custom_test
- <<: *if-dev-push
changes: *patterns-custom_test-wifi
- <<: *if-dev-push
changes: *patterns-downloadable-tools
- <<: *if-dev-push
changes: *patterns-target_test-adc
- <<: *if-dev-push
changes: *patterns-target_test-ecdsa
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:build:custom_test-esp32c3:
rules:
@ -893,16 +816,8 @@
changes: *patterns-build_system
- <<: *if-dev-push
changes: *patterns-custom_test
- <<: *if-dev-push
changes: *patterns-custom_test-wifi
- <<: *if-dev-push
changes: *patterns-downloadable-tools
- <<: *if-dev-push
changes: *patterns-target_test-adc
- <<: *if-dev-push
changes: *patterns-target_test-ecdsa
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:build:custom_test-esp32c6:
rules:
@ -1483,20 +1398,12 @@
changes: *patterns-build_template-app
- <<: *if-dev-push
changes: *patterns-component_ut
- <<: *if-dev-push
changes: *patterns-component_ut-wifi
- <<: *if-dev-push
changes: *patterns-custom_test
- <<: *if-dev-push
changes: *patterns-custom_test-wifi
- <<: *if-dev-push
changes: *patterns-downloadable-tools
- <<: *if-dev-push
changes: *patterns-example_test
- <<: *if-dev-push
changes: *patterns-example_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:labels:nvs_coverage:
rules:
@ -1537,21 +1444,6 @@
- <<: *if-dev-push
changes: *patterns-component_ut
.rules:test:component_ut-esp32c2-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-component_ut
- <<: *if-label-component_ut_esp32c2
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-component_ut-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:component_ut-esp32c3:
rules:
- <<: *if-revert-branch
@ -1565,21 +1457,6 @@
- <<: *if-dev-push
changes: *patterns-component_ut
.rules:test:component_ut-esp32c3-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-component_ut
- <<: *if-label-component_ut_esp32c3
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-component_ut-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:component_ut-esp32c6:
rules:
- <<: *if-revert-branch
@ -1645,21 +1522,6 @@
- <<: *if-dev-push
changes: *patterns-component_ut
.rules:test:component_ut-esp32s3-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-component_ut
- <<: *if-label-component_ut_esp32s3
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-component_ut-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:custom_test-esp32:
rules:
- <<: *if-revert-branch
@ -1686,21 +1548,6 @@
- <<: *if-dev-push
changes: *patterns-custom_test
.rules:test:custom_test-esp32c2-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-custom_test
- <<: *if-label-custom_test_esp32c2
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-custom_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:custom_test-esp32c3:
rules:
- <<: *if-revert-branch
@ -1714,21 +1561,6 @@
- <<: *if-dev-push
changes: *patterns-custom_test
.rules:test:custom_test-esp32c3-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-custom_test
- <<: *if-label-custom_test_esp32c3
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-custom_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:custom_test-esp32c6:
rules:
- <<: *if-revert-branch
@ -1781,21 +1613,6 @@
- <<: *if-dev-push
changes: *patterns-custom_test
.rules:test:custom_test-esp32s2-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-custom_test
- <<: *if-label-custom_test_esp32s2
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-custom_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:custom_test-esp32s3:
rules:
- <<: *if-revert-branch
@ -1809,21 +1626,6 @@
- <<: *if-dev-push
changes: *patterns-custom_test
.rules:test:custom_test-esp32s3-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-custom_test
- <<: *if-label-custom_test_esp32s3
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-custom_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:example_test-esp32:
rules:
- <<: *if-revert-branch
@ -1839,21 +1641,6 @@
- <<: *if-dev-push
changes: *patterns-example_test
.rules:test:example_test-esp32-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-example_test
- <<: *if-label-example_test_esp32
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-example_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:example_test-esp32c2:
rules:
- <<: *if-revert-branch
@ -1869,21 +1656,6 @@
- <<: *if-dev-push
changes: *patterns-example_test
.rules:test:example_test-esp32c2-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-example_test
- <<: *if-label-example_test_esp32c2
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-example_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:example_test-esp32c3:
rules:
- <<: *if-revert-branch
@ -1899,21 +1671,6 @@
- <<: *if-dev-push
changes: *patterns-example_test
.rules:test:example_test-esp32c3-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-example_test
- <<: *if-label-example_test_esp32c3
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-example_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:example_test-esp32c6:
rules:
- <<: *if-revert-branch
@ -1929,21 +1686,6 @@
- <<: *if-dev-push
changes: *patterns-example_test
.rules:test:example_test-esp32c6-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-example_test
- <<: *if-label-example_test_esp32c6
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-example_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:example_test-esp32h2:
rules:
- <<: *if-revert-branch
@ -1989,21 +1731,6 @@
- <<: *if-dev-push
changes: *patterns-example_test
.rules:test:example_test-esp32s2-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-example_test
- <<: *if-label-example_test_esp32s2
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-example_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:example_test-esp32s3:
rules:
- <<: *if-revert-branch
@ -2019,21 +1746,6 @@
- <<: *if-dev-push
changes: *patterns-example_test
.rules:test:example_test-esp32s3-wifi:
rules:
- <<: *if-revert-branch
when: never
- <<: *if-protected
- <<: *if-label-build-only
when: never
- <<: *if-label-example_test
- <<: *if-label-example_test_esp32s3
- <<: *if-label-target_test
- <<: *if-dev-push
changes: *patterns-example_test-wifi
- <<: *if-dev-push
changes: *patterns-target_test-wifi
.rules:test:host_test:
rules:
- <<: *if-revert-branch

View File

@ -246,15 +246,6 @@ pytest_examples_esp32p4_generic:
artifacts: false
tags: [ esp32p4, generic ]
pytest_examples_esp32_wifi_high_traffic:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, wifi_high_traffic ]
pytest_examples_esp32_8mb_flash:
extends:
- .pytest_examples_dir_template
@ -264,150 +255,6 @@ pytest_examples_esp32_8mb_flash:
artifacts: false
tags: [ esp32, ethernet_flash_8m ]
pytest_examples_esp32_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, wifi_ap ]
pytest_examples_esp32c3_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3-wifi
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
tags: [ esp32c3, wifi_ap ]
pytest_examples_esp32s3_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3-wifi
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
tags: [ esp32s3, wifi_ap ]
pytest_examples_esp32s2_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s2-wifi
needs:
- job: build_pytest_examples_esp32s2
artifacts: false
tags: [ esp32s2, wifi_ap ]
pytest_examples_esp32c2_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-wifi
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
tags: [ esp32c2, wifi_ap, xtal_40mhz ]
pytest_examples_esp32c2_26m_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-wifi
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
tags: [ esp32c2, wifi_ap, xtal_26mhz ]
pytest_examples_esp32c6_wifi_ap:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c6-wifi
needs:
- job: build_pytest_examples_esp32c6
artifacts: false
tags: [ esp32c6, wifi_ap ]
pytest_examples_esp32_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, wifi_router ]
pytest_examples_esp32c3_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3-wifi
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
tags: [ esp32c3, wifi_router ]
pytest_examples_esp32s3_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3-wifi
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
tags: [ esp32s3, wifi_router ]
pytest_examples_esp32s2_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s2-wifi
needs:
- job: build_pytest_examples_esp32s2
artifacts: false
tags: [ esp32s2, wifi_router ]
pytest_examples_esp32c2_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-wifi
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
tags: [ esp32c2, wifi_router, xtal_40mhz ]
pytest_examples_esp32c2_26m_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-wifi
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
tags: [ esp32c2, wifi_router, xtal_26mhz ]
pytest_examples_esp32c6_wifi_router:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c6-wifi
needs:
- job: build_pytest_examples_esp32c6
artifacts: false
tags: [ esp32c6, wifi_router ]
pytest_examples_esp32_wifi_iperf:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, Example_ShieldBox_Basic ]
pytest_examples_esp32_wifi_wlan:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, wifi_wlan ]
pytest_examples_esp32_ethernet_bridge:
extends:
- .pytest_examples_dir_template
@ -428,42 +275,6 @@ pytest_examples_esp32_flash_encryption:
artifacts: false
tags: [ esp32, flash_encryption ]
pytest_examples_esp32_wifi_two_dut:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32-wifi
needs:
- job: build_pytest_examples_esp32
artifacts: false
tags: [ esp32, wifi_two_dut ]
pytest_examples_esp32c3_wifi_two_dut:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c3-wifi
needs:
- job: build_pytest_examples_esp32c3
artifacts: false
tags: [ esp32c3, wifi_two_dut ]
pytest_examples_esp32s3_wifi_two_dut:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32s3-wifi
needs:
- job: build_pytest_examples_esp32s3
artifacts: false
tags: [ esp32s3, wifi_two_dut ]
pytest_examples_esp32c2_wifi_two_dut:
extends:
- .pytest_examples_dir_template
- .rules:test:example_test-esp32c2-wifi
needs:
- job: build_pytest_examples_esp32c2
artifacts: false
tags: [ esp32c2, wifi_two_dut, xtal_26mhz ]
pytest_examples_esp32c3_flash_encryption:
extends:
- .pytest_examples_dir_template
@ -834,15 +645,6 @@ pytest_components_esp32c3_generic_multi_device:
artifacts: false
tags: [ esp32c3, generic_multi_device ]
pytest_components_esp32c3_wifi_two_dut:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c3-wifi
needs:
- job: build_pytest_components_esp32c3
artifacts: false
tags: [ esp32c3, wifi_two_dut ]
pytest_components_esp32c3_usb_serial_jtag:
extends:
- .pytest_components_dir_template
@ -851,24 +653,6 @@ pytest_components_esp32c3_usb_serial_jtag:
- build_pytest_components_esp32c3
tags: [ esp32c3, usb_serial_jtag ]
pytest_components_esp32s3_wifi_two_dut:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32s3-wifi
needs:
- job: build_pytest_components_esp32s3
artifacts: false
tags: [ esp32s3, wifi_two_dut ]
pytest_components_esp32c2_wifi_two_dut:
extends:
- .pytest_components_dir_template
- .rules:test:component_ut-esp32c2-wifi
needs:
- job: build_pytest_components_esp32c2
artifacts: false
tags: [ esp32c2, wifi_two_dut, xtal_26mhz ]
pytest_components_esp32c3_flash_encryption:
extends:
- .pytest_components_dir_template
@ -1108,39 +892,3 @@ pytest_test_apps_esp32s3_mspi_f4r4:
- job: build_pytest_test_apps_esp32s3
artifacts: false
tags: [ esp32s3, MSPI_F4R4 ]
pytest_test_apps_esp32s2_wifi_two_dut:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32s2-wifi
needs:
- job: build_pytest_test_apps_esp32s2
artifacts: false
tags: [ esp32s2, wifi_two_dut ]
pytest_test_apps_esp32s3_wifi_two_dut:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32s3-wifi
needs:
- job: build_pytest_test_apps_esp32s3
artifacts: false
tags: [ esp32s3, wifi_two_dut ]
pytest_test_apps_esp32c2_wifi_two_dut:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32c2-wifi
needs:
- job: build_pytest_test_apps_esp32c2
artifacts: false
tags: [ esp32c2, wifi_two_dut, xtal_26mhz ]
pytest_test_apps_esp32c3_wifi_two_dut:
extends:
- .pytest_test_apps_dir_template
- .rules:test:custom_test-esp32c3-wifi
needs:
- job: build_pytest_test_apps_esp32c3
artifacts: false
tags: [ esp32c3, wifi_two_dut]

View File

@ -18,6 +18,17 @@ examples/network/simple_sniffer:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
temporary: true
reason: lack of runners
depends_filepatterns:
- tools/ci/python_packages/common_test_methods.py
- examples/common_components/protocol_examples_common/**/*
- examples/protocols/**/*
- examples/wifi/**/*
- examples/network/simple_sniffer/**/*
- components/mbedtls/port/dynamic/*
- examples/system/ota/**/*
depends_components:
- app_update
- esp_https_ota
examples/network/sta2eth:
disable:

View File

@ -6,6 +6,19 @@
- tools/ci/python_packages/common_test_methods.py
- components/esp_netif/esp_netif_handlers.c
.wifi_dependencies: &wifi_dependencies
depends_filepatterns:
- tools/ci/python_packages/common_test_methods.py
- examples/common_components/protocol_examples_common/**/*
- examples/protocols/**/*
- examples/wifi/**/*
- examples/network/simple_sniffer/**/*
- components/mbedtls/port/dynamic/*
- examples/system/ota/**/*
depends_components:
- app_update
- esp_https_ota
examples/protocols/esp_http_client:
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
@ -29,6 +42,7 @@ examples/protocols/esp_local_ctrl:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
temporary: true
reason: lack of runners
<<: *wifi_dependencies
examples/protocols/http_request:
disable:
@ -50,6 +64,7 @@ examples/protocols/http_server:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
temporary: true
reason: lack of runners
<<: *wifi_dependencies
examples/protocols/http_server/captive_portal:
disable:
@ -60,12 +75,14 @@ examples/protocols/http_server/captive_portal:
- if: IDF_TARGET != "esp32"
temporary: true
reason: only test on esp32
<<: *wifi_dependencies
examples/protocols/http_server/restful_server:
disable:
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
temporary: true
reason: not supported on p4 # TODO: IDF-8076
<<: *wifi_dependencies
examples/protocols/http_server/ws_echo_server:
disable:
@ -76,6 +93,7 @@ examples/protocols/http_server/ws_echo_server:
- if: IDF_TARGET != "esp32"
temporary: true
reason: only test on esp32
<<: *wifi_dependencies
examples/protocols/https_mbedtls:
disable:
@ -108,6 +126,7 @@ examples/protocols/https_server/simple:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
temporary: true
reason: lack of runners
<<: *wifi_dependencies
examples/protocols/https_server/wss_server:
disable:
@ -118,6 +137,7 @@ examples/protocols/https_server/wss_server:
- if: IDF_TARGET != "esp32"
temporary: true
reason: only test on esp32
<<: *wifi_dependencies
examples/protocols/https_x509_bundle:
disable:
@ -137,6 +157,7 @@ examples/protocols/icmp_echo:
reason: not supported on p4
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
<<: *wifi_dependencies
examples/protocols/l2tap:
disable:
@ -244,6 +265,7 @@ examples/protocols/sntp:
- if: IDF_TARGET == "esp32"
temporary: true
reason: the other targets are not tested yet
<<: *wifi_dependencies
examples/protocols/sockets:
disable:
@ -266,6 +288,7 @@ examples/protocols/sockets/tcp_client:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
<<: *wifi_dependencies
examples/protocols/sockets/tcp_server:
disable:
@ -274,6 +297,7 @@ examples/protocols/sockets/tcp_server:
reason: not supported on p4
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
<<: *wifi_dependencies
examples/protocols/sockets/udp_client:
disable:
@ -282,6 +306,7 @@ examples/protocols/sockets/udp_client:
reason: not supported on p4
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
<<: *wifi_dependencies
examples/protocols/sockets/udp_server:
disable:
@ -290,6 +315,7 @@ examples/protocols/sockets/udp_server:
reason: not supported on p4
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
<<: *wifi_dependencies
examples/protocols/static_ip:
disable:

View File

@ -157,7 +157,21 @@ examples/system/ota/advanced_https_ota:
- if: IDF_TARGET == "esp32c2" or IDF_TARGET == "esp32c6"
temporary: true
reason: lack of runners
<<: *ethernet_dependencies
depends_filepatterns:
- components/esp_netif/esp_netif_handlers.c
- components/mbedtls/port/dynamic/*
- examples/common_components/**/*
- examples/ethernet/iperf/**/*
- examples/network/simple_sniffer/**/*
- examples/network/vlan_support/**/*
- examples/protocols/**/*
- examples/system/ota/**/*
- examples/wifi/**/*
- tools/ci/python_packages/common_test_methods.py
depends_components:
- app_update
- esp_https_ota
- esp_eth
examples/system/ota/native_ota_example:
disable: