Skip to content

Commit bbb1a62

Browse files
authored
Create build-kyb.yml
1 parent eb58a8e commit bbb1a62

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build-kyb.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build Arduino Leonardo Kyb
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repository with submodules
11+
uses: actions/checkout@v3
12+
with:
13+
submodules: recursive # This initializes and updates submodules recursively
14+
15+
- name: Set up Arduino CLI
16+
uses: arduino/setup-arduino-cli@v2
17+
18+
- name: Install Arduino core
19+
run: |
20+
arduino-cli core update-index
21+
arduino-cli core install arduino:avr
22+
23+
- name: Install Keyboard library
24+
run: |
25+
arduino-cli lib install "Keyboard"
26+
27+
- name: Compile Sketch
28+
run: |
29+
arduino-cli compile --fqbn arduino:avr:leonardo Amiga500-USB-Keyboard-Leonardo/Amiga500-USB-Keyboard-Leonardo.ino

0 commit comments

Comments
 (0)