-
Notifications
You must be signed in to change notification settings - Fork 16
37 lines (32 loc) · 991 Bytes
/
compile_sketch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Compile Sketch
on:
- push
- pull_request
jobs:
build:
name: ${{ matrix.board.fqbn }}
runs-on: ubuntu-latest
strategy:
matrix:
board:
- fqbn: "ATTinyCore:avr:attinyx5micr"
- fqbn: "esp32:esp32:adafruit_qtpy_esp32s2"
- fqbn: "esp32:esp32:XIAO_ESP32C3"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Compile
uses: arduino/compile-sketches@main
with:
platforms: |
- name: "ATTinyCore:avr"
source-url: "https://github.com/SpenceKonde/ATTinyCore/archive/1.5.2.zip"
source-path: "./avr/"
- name: "arduino:avr"
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
sketch-paths: |
- ./
fqbn: ${{ matrix.board.fqbn }}
libraries: |
- name: "Adafruit NeoPixel"