Skip to content

Added ESP32 support in example InterruptRotator.ino #17

Added ESP32 support in example InterruptRotator.ino

Added ESP32 support in example InterruptRotator.ino #17

name: Arduino Library Checks
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [develop,master]
pull_request:
branches: [develop,master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# This defines a job for checking the Arduino library format specifications
# see <https://github.com/marketplace/actions/arduino-arduino-lint-action>
lint:
name: check library format
runs-on: ubuntu-latest
continue-on-error: false
steps:
- uses: actions/checkout@v2
# Arduino - lint
- name: Arduino-lint
uses: arduino/arduino-lint-action@v1
with:
library-manager: update
verbose: false
# These jobs are used to compile the examples fot the specific processor/board.
# see <https://github.com/marketplace/actions/compile-arduino-sketches>
compile-uno:
name: compile uno examples
runs-on: ubuntu-latest
continue-on-error: false
steps:
- uses: actions/checkout@v2
# Compile Examples for UNO
- name: compile sketches
uses: arduino/compile-sketches@v1
with:
verbose: true
fqbn: arduino:avr:uno
libraries: |
- source-path: ./
- name: LiquidCrystal_PCF8574
sketch-paths: |
- 'examples/SimplePollRotator'
- 'examples/SimplePollRotatorLCD'
- 'examples/LimitedRotator'
- 'examples/InterruptRotator'
- 'examples/AcceleratedRotator'
compile-esp8266:
name: compile esp8266 examples
runs-on: ubuntu-latest
continue-on-error: false
steps:
- uses: actions/checkout@v2
# Compile Examples for ESP8266
- name: compile sketches
uses: arduino/compile-sketches@v1
with:
verbose: true
platforms: |
# Install ESP8266 platform via Boards Manager
- name: esp8266:esp8266
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
version: 3.0.0
fqbn: esp8266:esp8266:nodemcuv2
libraries: |
- source-path: ./
- name: LiquidCrystal_PCF8574
sketch-paths: |
- 'examples/SimplePollRotator'
- 'examples/SimplePollRotatorLCD'
- 'examples/LimitedRotator'
- 'examples/InterruptRotator'
- 'examples/AcceleratedRotator'