Skip to content

Commit f85f783

Browse files
Merge pull request #119 from marcel-licence/prepare-automated-build
Create compile-sketch.yml
2 parents 5452e5b + f428a88 commit f85f783

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: C/C++ CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build_esp32:
11+
12+
name: build esp32
13+
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
matrix:
18+
fqbn:
19+
- esp32:esp32:esp32
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
25+
- name: Compile sketch
26+
uses: arduino/compile-sketches@v1
27+
with:
28+
fqbn: ${{ matrix.fqbn }}
29+
platforms: |
30+
- name: esp32:esp32
31+
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
32+
version: 2.0.17
33+
sketch-paths: |
34+
- ./
35+
libraries: |
36+
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
37+
name: ML_SynthTools
38+
- source-url: https://github.com/marcel-licence/ML_SynthTools_Lib.git
39+
name: ML_SynthTools_Lib
40+
- source-url: https://github.com/adafruit/Adafruit-GFX-Library.git
41+
name: Adafruit_GFX_Library
42+
version: 1.10.10
43+
- source-url: https://github.com/adafruit/Adafruit_SSD1306.git
44+
name: Adafruit_SSD1306
45+
version: 2.4.5
46+
- source-url: https://github.com/adafruit/Adafruit_BusIO.git
47+
name: Adafruit BusIO
48+
version: 1.14.1

0 commit comments

Comments
 (0)