Skip to content

Fix OTA updates for ESP32 #31

Fix OTA updates for ESP32

Fix OTA updates for ESP32 #31

Workflow file for this run

name: Build / ESP8266
on:
workflow_dispatch:
pull_request:
paths:
- 'src/**'
- '.github/workflows/build_esp8266.yml'
push:
paths:
- 'src/**'
- '.github/workflows/build_esp8266.yml'
jobs:
esp8266-nodemcuv2:
name: esp8266 ${{ matrix.sketches.name }}
runs-on: ubuntu-latest
strategy:
matrix:
sketches:
- name: serial
- name: wifi
board:
- fqbn: esp8266:esp8266:nodemcuv2
denko-target: esp8266
platforms: |
- name: esp8266:esp8266
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
libraries: |
- name: IRremoteESP8266
version: 2.8.5
- name: Adafruit NeoPixel
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Generate
id: generate
run: echo "path=$(./bin/denko sketch ${{ matrix.sketches.name }} --target ${{ matrix.board.denko-target }})" >> $GITHUB_OUTPUT
- name: Compile Arduino Sketches
uses: arduino/[email protected]
with:
platforms: ${{ matrix.board.platforms }}
fqbn: ${{ matrix.board.fqbn }}
libraries: ${{ matrix.board.libraries }}
sketch-paths: |
- ${{ steps.generate.outputs.path }}