-
Notifications
You must be signed in to change notification settings - Fork 12
129 lines (108 loc) · 3.78 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build_esp32:
name: build esp32
runs-on: ubuntu-latest
strategy:
matrix:
fqbn:
- esp32:esp32:esp32
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Compile sketch
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.fqbn }}
usbstack: tinyusb
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
version: 2.0.13
sketch-paths: |
- ./
libraries: |
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
- source-url: https://github.com/marcel-licence/ML_SynthTools_Lib.git
name: ML_SynthTools_Lib
- source-url: https://github.com/adafruit/Adafruit-GFX-Library.git
name: Adafruit_GFX_Library
version: 1.10.10
- source-url: https://github.com/adafruit/Adafruit_SSD1306.git
name: Adafruit_SSD1306
version: 2.4.5
- source-url: https://github.com/adafruit/Adafruit_BusIO.git
name: Adafruit BusIO
version: 1.14.1
build_esp8266:
name: build esp8266
runs-on: ubuntu-latest
strategy:
matrix:
fqbn:
- esp8266:esp8266:d1_mini
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Compile sketch
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.fqbn }}
platforms: |
- name: esp8266:esp8266
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
version: 3.1.2
sketch-paths: |
- ./
libraries: |
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
- source-url: https://github.com/marcel-licence/ML_SynthTools_Lib.git
name: ML_SynthTools_Lib
- source-url: https://github.com/adafruit/Adafruit-GFX-Library.git
name: Adafruit_GFX_Library
version: 1.10.10
- source-url: https://github.com/adafruit/Adafruit_SSD1306.git
name: Adafruit_SSD1306
version: 2.4.5
- source-url: https://github.com/adafruit/Adafruit_BusIO.git
name: Adafruit BusIO
version: 1.14.1
- source-url: https://github.com/marcel-licence/AC101.git
name: AC101
build_rp2040:
if: false
name: build rp2040
runs-on: ubuntu-latest
strategy:
matrix:
fqbn:
- rp2040:rp2040:rpipico
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Compile sketch
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.fqbn }}
platforms: |
- name: rp2040:rp2040
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
sketch-paths: |
- ./
libraries: |
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
- source-url: https://github.com/marcel-licence/ML_SynthTools_Lib.git
name: ML_SynthTools_Lib
- source-url: https://github.com/FortySevenEffects/arduino_midi_library.git
name: MIDI_Library
version: 5.0.2