13
13
name : Check API compatibility of WiFi Remote
14
14
strategy :
15
15
matrix :
16
- idf_ver : ["latest"]
16
+ idf_ver : ["latest", "release-v5.3" ]
17
17
runs-on : ubuntu-20.04
18
18
container : espressif/idf:${{ matrix.idf_ver }}
19
19
steps :
@@ -24,15 +24,16 @@ jobs:
24
24
run : |
25
25
. ${IDF_PATH}/export.sh
26
26
pip install idf-component-manager idf-build-apps --upgrade
27
+ cp -r ./components/esp_wifi_remote ./components/esp_wifi_remote_base
27
28
cd ./components/esp_wifi_remote/scripts
28
- python generate_and_check.py
29
+ python generate_and_check.py --base-dir ../../esp_wifi_remote_base
29
30
30
31
build_wifi_remote :
31
32
if : contains(github.event.pull_request.labels.*.name, 'wifi_remote') || github.event_name == 'push'
32
33
name : Build WiFi Remote Test
33
34
strategy :
34
35
matrix :
35
- idf_ver : ["latest"]
36
+ idf_ver : ["latest", "release-v5.3" ]
36
37
test : [ { app: smoke_test, path: "test/smoke_test" }]
37
38
runs-on : ubuntu-20.04
38
39
container : espressif/idf:${{ matrix.idf_ver }}
48
49
run : |
49
50
. ${IDF_PATH}/export.sh
50
51
pip install idf-component-manager idf-build-apps --upgrade
52
+ python ./components/esp_wifi_remote/scripts/generate_slave_configs.py ./components/esp_wifi_remote/${{matrix.test.path}}
51
53
python ./ci/build_apps.py ./components/esp_wifi_remote/${{matrix.test.path}} -vv --preserve-all
52
54
53
55
build_wifi_remote_example :
75
77
. ${IDF_PATH}/export.sh
76
78
pip install idf-component-manager idf-build-apps --upgrade
77
79
python ./ci/build_apps.py ./components/esp_wifi_remote/${{matrix.example.path}} -vv --preserve-all
80
+
81
+ build_idf_examples_with_wifi_remote :
82
+ if : contains(github.event.pull_request.labels.*.name, 'wifi_remote') || github.event_name == 'push'
83
+ name : Build IDF examples with WiFi Remote
84
+ strategy :
85
+ matrix :
86
+ idf_ver : ["latest", "release-v5.3"]
87
+ idf_target : ["esp32p4", "esp32h2", "esp32s3"]
88
+ test : [ { app: idf_mqtt_example, path: "examples/protocols/mqtt/tcp" }]
89
+ runs-on : ubuntu-20.04
90
+ container : espressif/idf:${{ matrix.idf_ver }}
91
+ steps :
92
+ - name : Checkout esp-protocols
93
+ uses : actions/checkout@v3
94
+ - name : ccache
95
+ uses : hendrikmuhs/ccache-action@v1.2
96
+ with :
97
+ key : ${{ matrix.idf_ver }}
98
+ - name : Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
99
+ shell : bash
100
+ run : |
101
+ . ${IDF_PATH}/export.sh
102
+ pip install idf-component-manager idf-build-apps --upgrade
103
+ export OVERRIDE_PATH=`pwd`/components/esp_wifi_remote
104
+ echo ${OVERRIDE_PATH}
105
+ sed -i '/espressif\/esp_wifi_remote:/a \ \ \ \ override_path: "${OVERRIDE_PATH}"' ${IDF_PATH}/${{matrix.test.path}}/main/idf_component.yml
106
+ cat ${IDF_PATH}/${{matrix.test.path}}/main/idf_component.yml
107
+ export PEDANTIC_FLAGS="-DIDF_CI_BUILD -Werror -Werror=deprecated-declarations -Werror=unused-variable -Werror=unused-but-set-variable -Werror=unused-function"
108
+ export EXTRA_CFLAGS="${PEDANTIC_FLAGS} -Wstrict-prototypes"
109
+ export EXTRA_CXXFLAGS="${PEDANTIC_FLAGS}"
110
+ cd ${IDF_PATH}/${{matrix.test.path}}
111
+ idf-build-apps find --config sdkconfig.ci* -vv --target ${{ matrix.idf_target }}
112
+ idf-build-apps build --config sdkconfig.ci* -vv --target ${{ matrix.idf_target }}
0 commit comments