Skip to content

Commit

Permalink
github actions update
Browse files Browse the repository at this point in the history
  • Loading branch information
mathertel committed Aug 2, 2024
1 parent 0419a1d commit 0cebe0c
Showing 1 changed file with 17 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions for Arduino library projects

name: Arduino Library Checks
name: Compile Examples

# Controls when the action will run.
on:
Expand All @@ -17,10 +17,12 @@ 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: true

steps:
- uses: actions/checkout@v4

Expand All @@ -33,16 +35,16 @@ jobs:

# 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
name: use avr:uno
runs-on: ubuntu-latest
# continue-on-error: true

steps:
- uses: actions/checkout@v4

# Compile Examples for UNO
- name: Compile examples on uno
- name: Compile examples on Uno
uses: arduino/compile-sketches@v1
with:
verbose: true
Expand All @@ -55,7 +57,7 @@ jobs:
- 'examples/SpecialInput'
compile-esp8266:
name: compile esp8266 examples
name: use esp8266
runs-on: ubuntu-latest

steps:
Expand All @@ -78,7 +80,7 @@ jobs:
- 'examples/SpecialInput'
compile-esp32:
name: build examples on ESP32
name: use ESP32 2.x
runs-on: ubuntu-latest

steps:
Expand All @@ -91,7 +93,6 @@ jobs:
# Install ESP32 platform via Boards Manager
- name: "esp32:esp32"
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
# version: 2.0.4 doesn't work with CLI caused by issue https://github.com/espressif/arduino-esp32/pull/7060
version: 2.0.8
fqbn: esp32:esp32:esp32
sketch-paths: |
Expand All @@ -101,10 +102,10 @@ jobs:
- 'examples/InterruptOneButton'
- 'examples/SpecialInput'
compile-arduino-nano-esp32:
name: build examples on Arduino Nano ESP32
compile-esp32-v3:
name: use ESP32 3.x
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: compile sketches
Expand All @@ -115,25 +116,23 @@ jobs:
# Install ESP32 platform via Boards Manager
- name: "esp32:esp32"
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
# version: 2.0.4 doesn't work with CLI caused by issue https://github.com/espressif/arduino-esp32/pull/7060
version: 2.0.8
version: 3.0.4
fqbn: esp32:esp32:esp32
sketch-paths: |
- 'examples/SimpleOneButton'
- 'examples/TwoButtons'
- 'examples/BlinkMachine'
- 'examples/InterruptOneButton'
- 'examples/SpecialInput'
compile-arduino-nano-eps32:
name: compile examples for Arduinop Nano ESP32
compile-arduino-nano-esp32:
name: use Arduino Nano ESP32
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

# Compile Examples for UNO
- name: Compile examples on uno
- name: compile sketches
uses: arduino/compile-sketches@v1
with:
verbose: true
Expand Down

0 comments on commit 0cebe0c

Please sign in to comment.