Skip to content

Commit aadee43

Browse files
committed
fix(wifi_remote): Add IDF compatible build test with wifi-remote
1 parent b0f8e88 commit aadee43

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/wifi_remote__build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,31 @@ jobs:
7777
. ${IDF_PATH}/export.sh
7878
pip install idf-component-manager idf-build-apps --upgrade
7979
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+
test: [ { app: idf_mqtt_example, path: "examples/protocols/mqtt/tcp" }]
88+
runs-on: ubuntu-20.04
89+
container: espressif/idf:${{ matrix.idf_ver }}
90+
steps:
91+
- name: Checkout esp-protocols
92+
uses: actions/checkout@v3
93+
- name: ccache
94+
uses: hendrikmuhs/ccache-action@v1.2
95+
with:
96+
key: ${{ matrix.idf_ver }}
97+
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }}
98+
shell: bash
99+
run: |
100+
. ${IDF_PATH}/export.sh
101+
pip install idf-component-manager idf-build-apps --upgrade
102+
export OVERRIDE_PATH=`pwd`/components/esp_wifi_remote
103+
echo ${OVERRIDE_PATH}
104+
sed -i '/espressif\/esp_wifi_remote:/a \ \ \ \ override_path: "${OVERRIDE_PATH}"' ${{matrix.test.path}}/main/idf_component.yml
105+
cat ${{matrix.test.path}}/main/idf_component.yml
106+
cd ${IDF_PATH}
107+
python ./tools/ci/ci_build_apps.py ${{matrix.test.path}} -vv

0 commit comments

Comments
 (0)