Skip to content

Commit e660dbe

Browse files
authored
Add CI
Adding CI with testing to compile the code
1 parent 6d4eb12 commit e660dbe

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/main.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Compile Sketch
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
compile-sketch:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
15+
- name: Compile
16+
uses: arduino/compile-sketches@main
17+
with:
18+
platforms: |
19+
- source-url: "https://github.com/SpenceKonde/ATTinyCore/archive/1.5.2.zip"
20+
name: "ATTinyCore:avr"
21+
source-path: "./avr/"
22+
- name: "arduino:avr"
23+
sketch-paths: |
24+
- ./
25+
fqbn: "ATTinyCore:avr:attinyx5micr"
26+
libraries: |
27+
- name: "Adafruit NeoPixel"

0 commit comments

Comments
 (0)