Skip to content

html: Place generated embedded html files in wdoc/ #15

html: Place generated embedded html files in wdoc/

html: Place generated embedded html files in wdoc/ #15

name: Build PlatformIO project
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
environment: [esp32, esp32-dev, esp8266, d1pro, thorrax, sonoff]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build ${{ matrix.environment }}
run: pio run -e ${{ matrix.environment }}
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.environment }}.bin
path: .pio/build/${{ matrix.environment }}/firmware.bin