Skip to content

Commit

Permalink
Create verify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arvvoid authored Nov 8, 2024
1 parent 939232f commit e920be0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Verify Arduino Sketch

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

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

- name: Set up Arduino CLI
uses: arduino/setup-arduino-cli@v1
with:
version: latest

- name: Install Arduino core
run: |
arduino-cli core update-index
arduino-cli core install arduino:avr
- name: Install Keyboard library
run: |
arduino-cli lib install "Keyboard"
- name: Compile Sketch
run: |
arduino-cli compile --fqbn arduino:avr:leonardo Amiga500-USB-Keyboard-Leonardo.ino

0 comments on commit e920be0

Please sign in to comment.