|
77 | 77 | . ${IDF_PATH}/export.sh
|
78 | 78 | pip install idf-component-manager idf-build-apps --upgrade
|
79 | 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 | + 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}"' ${IDF_PATH}/${{matrix.test.path}}/main/idf_component.yml |
| 105 | + cat ${IDF_PATH}/${{matrix.test.path}}/main/idf_component.yml |
| 106 | + export PEDANTIC_FLAGS="-DIDF_CI_BUILD -Werror -Werror=deprecated-declarations -Werror=unused-variable -Werror=unused-but-set-variable -Werror=unused-function" |
| 107 | + export EXTRA_CFLAGS="${PEDANTIC_FLAGS} -Wstrict-prototypes" |
| 108 | + export EXTRA_CXXFLAGS="${PEDANTIC_FLAGS}" |
| 109 | + cd ${IDF_PATH}/${{matrix.test.path}} |
| 110 | + idf-build-apps find --target esp32p4 |
| 111 | + idf-build-apps build --target esp32p4 |
0 commit comments