Fixes for: #200
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Platform IO CI | |
on: [push] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- board: "esp32dev" | |
smartboard: "ESP32_2432S024N" | |
color16swap: 1 | |
- board: "esp32dev" | |
smartboard: "ESP32_2432S024R" | |
color16swap: 1 | |
- board: "esp32dev" | |
smartboard: "ESP32_2432S024C" | |
color16swap: 1 | |
- board: "esp32dev" | |
smartboard: "ESP32_2432S028R" | |
color16swap: 1 | |
- board: "esp32dev" | |
smartboard: "ESP32_2432S032N" | |
color16swap: 1 | |
- board: "esp32dev" | |
smartboard: "ESP32_2432S032R" | |
color16swap: 1 | |
- board: "esp32dev" | |
smartboard: "ESP32_2432S032C" | |
color16swap: 1 | |
- board: "esp32dev" | |
smartboard: "ESP32_3248S035R" | |
color16swap: 1 | |
- board: "esp32dev" | |
smartboard: "ESP32_3248S035C" | |
color16swap: 1 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_1732S019N" | |
color16swap: 1 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_1732S019C" | |
color16swap: 1 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_4827S043R" | |
color16swap: 0 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_4827S043C" | |
color16swap: 0 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_8048S043N" | |
color16swap: 0 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_8048S043R" | |
color16swap: 0 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_8048S043C" | |
color16swap: 0 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_8048S050N" | |
color16swap: 0 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_8048S050R" | |
color16swap: 0 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_8048S050C" | |
color16swap: 0 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_8048S070N" | |
color16swap: 0 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_8048S070R" | |
color16swap: 0 | |
- board: "esp32-s3-devkitc-1" | |
smartboard: "ESP32_8048S070C" | |
color16swap: 0 | |
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: Build firmware | |
run: pio ci --lib="." --project-conf "example/platformio.ini" --environment ${{matrix.board}} "example/main.cpp" | |
env: | |
PLATFORMIO_BUILD_FLAGS: -D${{matrix.smartboard}} -DLV_CONF_PATH="${{github.workspace}}/example/lv_conf.h" -DLV_COLOR_16_SWAP=${{matrix.color16swap}} |