Skip to content

Fixed compile error and updated workflows #772

Fixed compile error and updated workflows

Fixed compile error and updated workflows #772

Workflow file for this run

name: Compile Examples
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- board:
fqbn: Inkplate_Boards:esp32:Inkplate5
additional-sketch-paths: |
- examples/Inkplate5
- board:
fqbn: Inkplate_Boards:esp32:Inkplate5V2
additional-sketch-paths: |
- examples/Inkplate5V2
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6
additional-sketch-paths: |
- examples/Inkplate6
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6V2
additional-sketch-paths: |
- examples/Inkplate6
- board:
fqbn: Inkplate_Boards:esp32:Inkplate10
additional-sketch-paths: |
- examples/Inkplate10
- board:
fqbn: Inkplate_Boards:esp32:Inkplate10V2
additional-sketch-paths: |
- examples/Inkplate10
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6plus
additional-sketch-paths: |
- examples/Inkplate6PLUS
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6plusV2
additional-sketch-paths: |
- examples/Inkplate6PLUS
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6Flick
additional-sketch-paths: |
- examples/Inkplate6FLICK
- board:
fqbn: Inkplate_Boards:esp32:Inkplate6COLOR
additional-sketch-paths: |
- examples/Inkplate6COLOR
- board:
fqbn: Inkplate_Boards:esp32:Inkplate2
additional-sketch-paths: |
- examples/Inkplate2
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install ESP32 platform dependencies
run: pip3 install pyserial
- name: Compile examples
uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
platforms: |
- source-url: https://github.com/SolderedElectronics/Dasduino-Board-Definitions-for-Arduino-IDE/raw/master/package_Dasduino_Boards_index.json
name: Inkplate_Boards:esp32
fqbn: ${{ matrix.board.fqbn }}
libraries: |
- source-path: ./
- name: ArduinoJson
- name: Time
- source-url: https://github.com/SolderedElectronics/Soldered-MFRC522-RFID-Reader-Arduino-Library.git
- source-url: https://github.com/SolderedElectronics/Soldered-WS2812-Smart-Leds-Arduino-Library.git
- source-url: https://github.com/SolderedElectronics/Soldered-BME280-BME680-Gas-Sensor-Arduino-Library.git
sketch-paths: |
${{ matrix.additional-sketch-paths }}
cli-compile-flags: |
- --warnings="default"