Skip to content

Commit

Permalink
Add CI build for the arduino code
Browse files Browse the repository at this point in the history
  • Loading branch information
wsciaroni committed Oct 25, 2024
1 parent e258679 commit d4d0398
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/arduino.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Compile Sketches

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
release:
types: [created]

jobs:
compile-sketches:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

# See: https://github.com/arduino/compile-sketches#readme
- name: Compile sketches
uses: arduino/compile-sketches@v1.1.2
with:
fqbn: esp32:esp32:esp32:EventsCore=0
platforms: |
- name: "esp32:esp32"
version: "2.0.17"
sketch-paths: |
- microcontroller-src/kv4p_ht_esp32_wroom_32
libraries: |
- name: EspSoftwareSerial
version: 8.1.0
- source-url: https://github.com/fatpat/arduino-dra818/archive/refs/tags/v1.0.1.zip
verbose: true

0 comments on commit d4d0398

Please sign in to comment.