Skip to content

New 2.0.0 release (#54) #292

New 2.0.0 release (#54)

New 2.0.0 release (#54) #292

Workflow file for this run

name: Platform IO CI
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install PlatformIO
run: python -m pip install platformio
- name: Build firmware
run: pio ci --lib=src --lib=include --exclude=assets --exclude=examples --exclude=boards --project-conf="examples/ci/platformio.ini" "examples/ci/main.cpp"
env:
PLATFORMIO_BOARDS_DIR: "${{github.workspace}}/boards"
PLATFORMIO_BUILD_FLAGS: -DLV_CONF_PATH="${{github.workspace}}/examples/ci/lv_conf.h"