feat(ci): Enable p4 example, test_apps and unit tests CI build

This commit is contained in:
Armando
2023-08-17 10:45:23 +08:00
parent 70071a334f
commit 7dbd3f6909
156 changed files with 652 additions and 322 deletions
+123 -4
View File
@@ -7,22 +7,36 @@ examples/protocols/esp_http_client:
- if: IDF_TARGET not in ["esp32", "linux"]
temporary: true
reason: only test on esp32
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
examples/protocols/esp_local_ctrl:
disable:
- if: IDF_TARGET in ["esp32h2"]
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
temporary: true
reason: lack of runners
examples/protocols/http_request:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: only test on esp32
examples/protocols/http_server:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
temporary: true
@@ -30,7 +44,9 @@ examples/protocols/http_server:
examples/protocols/http_server/captive_portal:
disable:
- if: IDF_TARGET in ["esp32h2"]
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
@@ -38,55 +54,99 @@ examples/protocols/http_server/captive_portal:
examples/protocols/http_server/restful_server:
disable:
- if: IDF_TARGET in ["esp32h2"]
- if: IDF_TARGET in ["esp32h2", "esp32p4"]
temporary: true
reason: not supported on p4
examples/protocols/http_server/ws_echo_server:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: only test on esp32
examples/protocols/https_mbedtls:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/protocols/https_request:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/protocols/https_server/simple:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3"]
temporary: true
reason: lack of runners
examples/protocols/https_server/wss_server:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: only test on esp32
examples/protocols/https_x509_bundle:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/protocols/icmp_echo:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
examples/protocols/l2tap:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/protocols/modbus:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
examples/protocols/mqtt/ssl:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
@@ -94,40 +154,80 @@ examples/protocols/mqtt/ssl:
examples/protocols/mqtt/ssl_ds:
disable:
- if: SOC_DIG_SIGN_SUPPORTED != 1
- if: SOC_DIG_SIGN_SUPPORTED != 1 or IDF_TARGET == "esp32p4"
temporary: false
reason: DS not present
examples/protocols/mqtt/ssl_mutual_auth:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
examples/protocols/mqtt/ssl_psk:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
examples/protocols/mqtt/tcp:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/protocols/mqtt/ws:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/protocols/mqtt/wss:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/protocols/mqtt5:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: IDF_TARGET != "esp32"
temporary: true
reason: lack of runners
examples/protocols/smtp_client:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
examples/protocols/sntp:
enable:
- if: IDF_TARGET == "esp32"
temporary: true
reason: the other targets are not tested yet
examples/protocols/sockets:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
examples/protocols/sockets/non_blocking:
disable_test:
- if: IDF_TARGET != "esp32"
@@ -139,19 +239,38 @@ examples/protocols/sockets/tcp_client:
- if: SOC_WIFI_SUPPORTED != 1
enable:
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "linux"
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
examples/protocols/sockets/tcp_server:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
examples/protocols/sockets/udp_client:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
examples/protocols/sockets/udp_server:
disable:
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
disable_test:
- if: SOC_WIFI_SUPPORTED != 1
examples/protocols/static_ip:
disable:
- if: IDF_TARGET in ["esp32h2"]
- if: IDF_TARGET == "esp32p4"
temporary: true
reason: not supported on p4
@@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
# TCP non-blocking client and server examples