diff --git a/.github/workflows/arduino-checks.yml b/.github/workflows/compile-examples.yml similarity index 86% rename from .github/workflows/arduino-checks.yml rename to .github/workflows/compile-examples.yml index 0183c4d..4df7330 100644 --- a/.github/workflows/arduino-checks.yml +++ b/.github/workflows/compile-examples.yml @@ -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: @@ -17,10 +17,12 @@ jobs: # This defines a job for checking the Arduino library format specifications # see + lint: name: check library format runs-on: ubuntu-latest - + # continue-on-error: true + steps: - uses: actions/checkout@v4 @@ -33,16 +35,16 @@ jobs: # These jobs are used to compile the examples fot the specific processor/board. # see + 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 @@ -55,7 +57,7 @@ jobs: - 'examples/SpecialInput' compile-esp8266: - name: compile esp8266 examples + name: use esp8266 runs-on: ubuntu-latest steps: @@ -78,7 +80,7 @@ jobs: - 'examples/SpecialInput' compile-esp32: - name: build examples on ESP32 + name: use ESP32 2.x runs-on: ubuntu-latest steps: @@ -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: | @@ -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 @@ -115,8 +116,7 @@ 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' @@ -124,16 +124,15 @@ jobs: - '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