Skip to content

1.5.2

1.5.2 #130

Workflow file for this run

name: ArduinoBuild
on:
push:
paths:
- '**.ino'
- '**.cpp'
- '**.hpp'
- '**.h'
- '**.c'
- '**ArduinoBuild.yml'
pull_request:
workflow_dispatch:
inputs:
lgfx_branch:
description: 'LovyanGFX Base branch'
required: true
default: 'develop'
type: choice
options:
- master
- develop
jobs:
matrix_build:
name: ${{ matrix.board }}@${{ matrix.platform-version }}
runs-on: ubuntu-latest
strategy:
matrix:
platform-version:
# ESP32 Core versions
- 1.0.6
#- 2.0.0
#- 2.0.1
#- 2.0.2
#- 2.0.3
#- 2.0.4
#- 2.0.5
#- 2.0.6
# - 2.0.7
# - 2.0.8
# - 2.0.9
- 2.0.11
- 2.0.12
- 2.0.13
- latest
board:
# Supported boards fancy names
- esp32
- esp32wroverkit
- m5stack-core2
- m5stack-core-esp32
- m5stack-cores3
- m5stick-c
- m5stack-fire
- twatch
- ttgo-t1
- d32_pro
- esp32s3box
- odroid_esp32
exclude:
- { board: m5stack-cores3 }
- { board: esp32wroverkit, platform-version: 1.0.6 } # No ESP32-Wrover-Kit board profile before 2.0.0
- { board: esp32s3box, platform-version: 1.0.6 } # No esp32s3box support before 2.0.3
#- { board: esp32s3box, platform-version: 2.0.0 } # No esp32s3box support before 2.0.3
#- { board: esp32s3box, platform-version: 2.0.1 } # No esp32s3box support before 2.0.3
#- { board: esp32s3box, platform-version: 2.0.2 } # No esp32s3box support before 2.0.3
#- { board: esp32s3box, platform-version: 2.0.4 } # broken in 2.0.4, fixed in 2.0.5, see https://github.com/espressif/arduino-esp32/pull/6962/files
include:
# testable boards
- { board: m5stack-cores3, platform-version: latest }
- board: esp32
- board: esp32wroverkit
- board: m5stack-core2
- board: m5stack-core-esp32
- board: m5stick-c
- board: m5stack-fire
- board: twatch
- board: ttgo-t1
- board: d32_pro
- board: esp32s3box
- board: odroid_esp32
# testable sdk versions
- platform-version: 1.0.6
#- platform-version: 2.0.0
#- platform-version: 2.0.1
#- platform-version: 2.0.2
#- platform-version: 2.0.3
#- platform-version: 2.0.4
#- platform-version: 2.0.5
#- platform-version: 2.0.6
# - platform-version: 2.0.7
# - platform-version: 2.0.8
# - platform-version: 2.0.9
- platform-version: 2.0.11
- platform-version: 2.0.12
- platform-version: 2.0.13
- platform-version: latest
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Checkout custom library
uses: actions/checkout@v3
with:
repository: Lovyan03/LovyanGFX
ref: ${{ github.event.inputs.lgfx_branch }}
path: CustomLGFX # must contain string "Custom"
- name: ${{ matrix.board }}
uses: ArminJo/arduino-test-compile@master
with:
# platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
arduino-board-fqbn: esp32:esp32:${{ matrix.board }}
arduino-platform: esp32:esp32@${{ matrix.platform-version }}
#required-libraries: LovyanGFX
extra-arduino-lib-install-args: --no-deps
extra-arduino-cli-args: "--warnings default " # see https://github.com/ArminJo/arduino-test-compile/issues/28
sketch-names: Display.ino
set-build-path: true
# extra-arduino-cli-args: ${{ matrix.extra-arduino-cli-args }}
# build-properties: ${{ toJson(matrix.build-properties) }}
# debug-install: true