Skip to content

ci: add platformio build #1

ci: add platformio build

ci: add platformio build #1

Workflow file for this run

name: PlatformIO CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
example: [examples/virtual_terminal/esp32_platformio_object_pool]
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.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO examples
run: pio ci --board=denky32
env:
PLATFORMIO_CI_SRC: ${{ matrix.example }}