Skip to content
name: Build with Arduino IDE
on:
- push
- pull_request
jobs:
build-for-esp8266:
runs-on: ubuntu-latest
strategy:
matrix:
fqbn:
- esp8266:esp8266:generic
steps:
- uses: actions/checkout@v4
- uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.fqbn }}
enable-deltas-report: true
platforms: |
- name: esp8266:esp8266
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
sketch-paths: |
- examples/simple-esp8266
libraries: |
- name: espMqttManager
source-path: ./
- name: ArduinoJson
source-url: https://github.com/bblanchon/ArduinoJson.git
version: 57354de
- name: espMqttClient
source-url: https://github.com/bertmelis/espMqttClient.git
- name: ESPAsyncTCP
source-url: https://github.com/me-no-dev/ESPAsyncTCP.git
build-for-esp32:
runs-on: ubuntu-latest
strategy:
matrix:
fqbn:
- esp32:esp32:esp32
steps:
- uses: actions/checkout@v4
- uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.fqbn }}
enable-deltas-report: true
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
sketch-paths: |
- examples/simple-esp32
- examples/tls-esp32
libraries: |
- name: espMqttManager
source-path: ./
- name: ArduinoJson
source-url: https://github.com/bblanchon/ArduinoJson.git
version: 57354de
- name: espMqttClient
source-url: https://github.com/bertmelis/espMqttClient.git
- name: AsyncTCP
source-url: https://github.com/me-no-dev/AsyncTCP.git