esp-idf/examples/protocols/.build-test-rules.yml

308 lines
8.5 KiB
YAML
Raw Normal View History

# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
.default_dependencies: &default_dependencies
depends_components:
- lwip
- esp_netif
- esp_wifi
- esp_phy
- esp_eth
- mbedtls
- protocol_examples_common
examples/protocols/esp_http_client:
<<: *default_dependencies
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
disable_test:
- if: IDF_TARGET not in ["esp32", "linux"]
depends_filepatterns:
- components/esp_http_client/**/*
examples/protocols/esp_local_ctrl:
<<: *default_dependencies
2023-01-10 00:59:46 -05:00
disable:
- if: IDF_TARGET in ["esp32h2", "esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
2022-12-07 05:07:07 -05:00
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
reason: only test on these targets
depends_filepatterns:
- components/protocomm/**/*
- tools/esp_prov/**/*
examples/protocols/http_request:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
examples/protocols/http_server:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
2022-12-07 05:07:07 -05:00
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
reason: only test on these targets
depends_filepatterns:
- components/esp_http_server/**/*
2022-12-07 05:07:07 -05:00
examples/protocols/http_server/captive_portal:
<<: *default_dependencies
2023-01-10 00:59:46 -05:00
disable:
- if: SOC_WIFI_SUPPORTED != 1
reason: WiFi is required
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
2022-12-07 05:07:07 -05:00
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
depends_filepatterns:
- components/esp_http_server/**/*
2022-12-07 05:07:07 -05:00
examples/protocols/http_server/restful_server:
<<: *default_dependencies
2023-01-10 00:59:46 -05:00
disable:
- if: IDF_TARGET in ["esp32h2", "esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
depends_filepatterns:
- components/esp_http_server/**/*
examples/protocols/http_server/ws_echo_server:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
2022-12-07 05:07:07 -05:00
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
depends_filepatterns:
- components/esp_http_server/**/*
examples/protocols/https_mbedtls:
<<: *default_dependencies
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
examples/protocols/https_request:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32h2", "esp32p4", "esp32c5", "esp32c61"]
temporary: true
reason: not supported on h2, p4 and c5 # TODO: IDF-9076 (H2/P4/C5), [ESP32C61] IDF-9298
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
examples/protocols/https_server/simple:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
disable_test:
2022-12-07 05:07:07 -05:00
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
reason: only test on these targets
depends_filepatterns:
- components/esp_https_server/**/*
- components/esp_tls/**/*
examples/protocols/https_server/wss_server:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
disable_test:
2022-12-07 05:07:07 -05:00
- if: IDF_TARGET != "esp32"
reason: only test on esp32
depends_filepatterns:
- components/esp_https_server/**/*
examples/protocols/https_x509_bundle:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported yet # TODO: [ESP32C61] IDF-9298
disable_test:
2022-12-07 05:07:07 -05:00
- if: IDF_TARGET != "esp32"
reason: only test on esp32
depends_filepatterns:
- components/esp_tls/**/*
examples/protocols/icmp_echo:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32-C5] IDF-8697, [ESP32C61] IDF-9298
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
examples/protocols/l2tap:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
examples/protocols/modbus:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported yet [ESP32C61] IDF-9298
depends_filepatterns:
- examples/common_components/protocol_examples_common/**/*
- examples/protocols/modbus/mb_example_common/**/*
examples/protocols/mqtt:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
depends_filepatterns:
- components/mqtt/**/*
examples/protocols/mqtt/custom_outbox:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
examples/protocols/mqtt/ssl:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
examples/protocols/mqtt/ssl_ds:
<<: *default_dependencies
disable:
- if: SOC_DIG_SIGN_SUPPORTED != 1
temporary: false
reason: DS not present
examples/protocols/mqtt/tcp:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
examples/protocols/mqtt/ws:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
examples/protocols/mqtt/wss:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
2022-07-27 08:52:04 -04:00
examples/protocols/mqtt5:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
2022-07-27 08:52:04 -04:00
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32
2022-07-27 08:52:04 -04:00
examples/protocols/smtp_client:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
examples/protocols/sntp:
<<: *default_dependencies
enable:
- if: IDF_TARGET == "esp32"
temporary: true
reason: the other targets are not tested yet
examples/protocols/sockets:
<<: *default_dependencies
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
examples/protocols/sockets/non_blocking:
<<: *default_dependencies
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/protocols/sockets/tcp_client:
<<: *default_dependencies
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
2023-11-27 05:54:56 -05:00
# linux target won't work with CONFIG_EXAMPLE_SOCKET_IP_INPUT_STDIN=y
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
2023-01-10 00:59:46 -05:00
examples/protocols/static_ip:
<<: *default_dependencies
2023-01-10 00:59:46 -05:00
disable:
- if: IDF_TARGET in ["esp32c61"]
temporary: true
reason: not supported on c61 # TODO: [ESP32C61] IDF-9298
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners