Adding complete Espressif IDF compatibility #17
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 | |
on: | |
pull_request: | |
push: | |
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 v4.4 | |
uses: espressif/esp-idf-ci-action@v1 | |
with: | |
esp_idf_version: v4.4 | |
target: esp32 | |
path: 'examples/0014-espressif_esp32_send_data' | |
- name: Build process OTA over MQTT example on v4.4 | |
uses: espressif/esp-idf-ci-action@v1 | |
with: | |
esp_idf_version: v4.4 | |
target: esp32 | |
path: 'examples/0015-espressif_esp32_process_OTA_MQTT' | |
- name: 'Cleanup build folder' | |
run: | | |
ls -la ./ | |
rm -rf ./* || true | |
rm -rf ./.??* || true | |
ls -la ./ | |
- 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' |