53
53
- { app: 2sta, path: "examples/two_stations", bin: "build_esp32s3_s3" }
54
54
- { app: slave, path: "examples/server", bin: "build_esp32c6_c6" }
55
55
- { app: slave_1, path: "examples/server", bin: "build_esp32c6_c6_1" }
56
+ - { app: esp_hosted, path: "examples/mqtt", bin: "build_esp32p4_hosted" }
57
+ - { app: esp_hosted_slave, path: "examples/hosted_slave", bin: "build_esp32c6_hosted" }
56
58
57
59
runs-on : ubuntu-latest
58
60
container : espressif/idf:${{ matrix.idf_ver }}
77
79
run : |
78
80
. ${IDF_PATH}/export.sh
79
81
pip install idf-component-manager idf-build-apps --upgrade
82
+ if [ "${{matrix.example.app}}" == "esp_hosted_slave" ]; then
83
+ idf.py create-project-from-example "espressif/esp_hosted:slave"
84
+ rm slave/sdkconfig.ci.*
85
+ mv slave/ ./components/esp_wifi_remote/${{matrix.example.path}}/
86
+ export EXPECTED_WARNING="warning: the int symbol ESP_HOSTED"
87
+ cp ./components/esp_wifi_remote/examples/sdkconfig.ci.hosted_slave ./components/esp_wifi_remote/${{matrix.example.path}}/sdkconfig.ci.hosted
88
+ fi
80
89
python $GITHUB_WORKSPACE/protocols/ci/build_apps.py ./components/esp_wifi_remote/${{matrix.example.path}} -vv --preserve-all
81
90
cd ./components/esp_wifi_remote/${{matrix.example.path}}
82
91
${GITHUB_WORKSPACE}/protocols/ci/clean_build_artifacts.sh `pwd`/${{matrix.example.bin}}
98
107
test_pair :
99
108
- { p4: "build_esp32p4_p4", c6: "build_esp32c6_c6" }
100
109
- { p4: "build_esp32p4_p4_1", c6: "build_esp32c6_c6_1" }
110
+ - { p4: "build_esp32p4_hosted", c6: "build_esp32c6_hosted" }
101
111
runs-on : [self-hosted, wifi-remote]
102
112
container :
103
113
image : python:3.7-buster
@@ -122,4 +132,4 @@ jobs:
122
132
mv server/${{ matrix.test_pair.c6 }}/ server/build/
123
133
unzip mqtt/artifacts.zip -d mqtt/
124
134
mv mqtt/${{ matrix.test_pair.p4 }}/ mqtt/build/
125
- python -m pytest --log-cli-level DEBUG --target esp32p4, esp32c6
135
+ python -m pytest --log-cli-level DEBUG --target esp32c6,esp32p4
0 commit comments