Skip to content

Build Arduino Leonardo Kyb #12

Build Arduino Leonardo Kyb

Build Arduino Leonardo Kyb #12

Workflow file for this run

name: Build Arduino Leonardo Kyb
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 0 1 * *" # Runs at midnight on the first day of each month
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository with submodules
uses: actions/checkout@v3
with:
submodules: true # Initializes submodules at the specified commit without updating
fetch-depth: 0 # Ensures full commit history for submodules
- name: Set up Arduino CLI
uses: arduino/setup-arduino-cli@v2
- 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 --verify Amiga500-USB-Keyboard-Leonardo/Amiga500-USB-Keyboard-Leonardo.ino