Skip to content

Commit 1bd82af

Browse files
per1234manchoz
authored andcommitted
Add Edge Control board to CI workflow
Because none of the examples of the platform bundled libraries are really suitable for this board, I added some compilations of representative built-in example sketches to provide a basic smoke test for the board.
1 parent db1cde0 commit 1bd82af

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/compile-examples.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ jobs:
2525
env:
2626
# sketch paths to compile (recursive) compatible with all boards
2727
UNIVERSAL_SKETCH_PATHS: |
28-
- libraries/Scheduler
28+
- extras/arduino-examples/examples/01.Basics/Fade
29+
- extras/arduino-examples/examples/02.Digital/DigitalInputPullup
30+
- extras/arduino-examples/examples/03.Analog/AnalogInput
31+
- extras/arduino-examples/examples/04.Communication/MultiSerial
2932
3033
strategy:
3134
fail-fast: false
@@ -35,13 +38,19 @@ jobs:
3538
- fqbn: arduino:mbed:nano33ble
3639
- fqbn: arduino:mbed:envie_m4
3740
- fqbn: arduino:mbed:envie_m7
41+
- fqbn: arduino:mbed:edge_control
3842

3943
# compile only the examples compatible with each board
4044
include:
4145
- board:
4246
fqbn: arduino:mbed:nano33ble
4347
additional-sketch-paths: |
4448
- libraries/PDM
49+
- libraries/Scheduler
50+
- libraries/ThreadDebug
51+
- board:
52+
fqbn: arduino:mbed:edge_control
53+
additional-sketch-paths: |
4554
- libraries/ThreadDebug
4655
- board:
4756
fqbn: arduino:mbed:envie_m4
@@ -50,6 +59,7 @@ jobs:
5059
- libraries/KernelDebug
5160
- libraries/Portenta_SDCARD
5261
- libraries/Portenta_Video
62+
- libraries/Scheduler
5363
- board:
5464
fqbn: arduino:mbed:envie_m7
5565
additional-sketch-paths: |
@@ -58,6 +68,7 @@ jobs:
5868
- libraries/Portenta_SDCARD
5969
- libraries/Portenta_System
6070
- libraries/Portenta_Video
71+
- libraries/Scheduler
6172
- libraries/ThreadDebug
6273
- libraries/USBHOST
6374
- libraries/WiFi
@@ -76,6 +87,12 @@ jobs:
7687
- name: Install ArduinoCore-API
7788
run: mv "$GITHUB_WORKSPACE/ArduinoCore-API/api" "$GITHUB_WORKSPACE/cores/arduino"
7889

90+
- name: Checkout built-in examples
91+
uses: actions/checkout@v2
92+
with:
93+
repository: arduino/arduino-examples
94+
path: extras/arduino-examples
95+
7996
- name: Compile examples
8097
uses: arduino/actions/libraries/compile-examples@master
8198
with:

0 commit comments

Comments
 (0)