Merge pull request #199 from hayschan/add-esp-idf-examples #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compile ESP-IDF Sketches for v5.1 | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/espidf-compile-v*.yml" | |
- "examples/**" | |
- "src/**" | |
push: | |
paths: | |
- ".github/workflows/espidf-compile-v*.yml" | |
- "examples/**" | |
- "src/**" | |
workflow_dispatch: | |
repository_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Build send data example on v5.1 | |
uses: espressif/esp-idf-ci-action@v1 | |
with: | |
esp_idf_version: v5.1 | |
target: esp32 | |
path: 'examples/0014-espressif_esp32_send_data' | |
- name: Build process OTA over MQTT example on v5.1 | |
uses: espressif/esp-idf-ci-action@v1 | |
with: | |
esp_idf_version: v5.1 | |
target: esp32 | |
path: 'examples/0015-espressif_esp32_process_OTA_MQTT' |