Skip to content

Workflow file for this run

name: Platform IO CI
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v3
with:
python-version: "3.x"
architecture: "x64"
- name: Install PlatformIO
run: python -m pip install platformio
- name: List
run: ls -laR ~/.platformio/
- name: Install Espressif32
run: pio platform install espressif32
- name: Copy boards
run: |
mkdir -p ~/platformio/platforms/espressif32/boards
cp -v ./boards/*.json ~/platformio/platforms/espressif32/boards
- name: Build firmware
run: pio ci --lib="." --project-conf "example/platformio.ini" "example/main.cpp"
env:
PLATFORMIO_BUILD_FLAGS: -DLV_CONF_PATH="${{github.workspace}}/example/lv_conf.h"