Skip to content

Commit

Permalink
Add workflow to build for ESP-IDF
Browse files Browse the repository at this point in the history
  • Loading branch information
MathewHDYT committed Sep 26, 2023
1 parent 256e057 commit 8b695d4
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/espidf-compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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: 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'
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[![GitHub release](https://img.shields.io/github/release/thingsboard/thingsboard-arduino-sdk/all.svg?style=flat-square)](https://github.com/thingsboard/thingsboard-arduino-sdk/releases/)
[![GitHub downloads](https://img.shields.io/github/downloads/thingsboard/thingsboard-arduino-sdk/all.svg?style=flat-square)](https://github.com/thingsboard/thingsboard-arduino-sdk/releases/)
[![Arduino actions status](https://github.com/thingsboard/thingsboard-arduino-sdk/actions/workflows/arduino-compile.yml/badge.svg)](https://github.com/thingsboard/thingsboard-arduino-sdk/actions/workflows/arduino-compile.yml)
[![Espressif IDF actions status](https://github.com/thingsboard/thingsboard-arduino-sdk/actions/workflows/espidf-compile.yml/badge.svg)](https://github.com/thingsboard/thingsboard-arduino-sdk/actions/workflows/espidf-compile.yml)
[![ESP32 actions status](https://github.com/thingsboard/thingsboard-arduino-sdk/actions/workflows/esp32-compile.yml/badge.svg)](https://github.com/thingsboard/thingsboard-arduino-sdk/actions/workflows/esp32-compile.yml)
[![ESP8266 actions status](https://github.com/thingsboard/thingsboard-arduino-sdk/actions/workflows/esp8266-compile.yml/badge.svg)](https://github.com/thingsboard/thingsboard-arduino-sdk/actions/workflows/esp8266-compile.yml)
![GitHub stars](https://img.shields.io/github/stars/thingsboard/thingsboard-arduino-sdk?style=social)
Expand Down

0 comments on commit 8b695d4

Please sign in to comment.