File tree Expand file tree Collapse file tree 1 file changed +26
-11
lines changed Expand file tree Collapse file tree 1 file changed +26
-11
lines changed Original file line number Diff line number Diff line change 1
1
name : Compile Examples
2
2
3
- on : [pull_request, push]
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - " .github/workflows/compile-examples.yml"
7
+ - " cores/**"
8
+ - " libraries/**"
9
+ - " variants/**"
10
+ - " boards.txt"
11
+ - " platform.txt"
12
+ push :
13
+ paths :
14
+ - " .github/workflows/compile-examples.yml"
15
+ - " cores/**"
16
+ - " libraries/**"
17
+ - " variants/**"
18
+ - " boards.txt"
19
+ - " platform.txt"
4
20
5
21
jobs :
6
- compile-test :
22
+ compile-examples :
7
23
runs-on : ubuntu-latest
8
24
9
25
env :
@@ -14,22 +30,21 @@ jobs:
14
30
fail-fast : false
15
31
16
32
matrix :
17
- board : [
18
- {"fqbn": "arduino-beta:mbed:nano33ble"},
19
- {"fqbn": "arduino-beta:mbed:envie_m4"},
20
- {"fqbn": "arduino-beta:mbed:envie_m7"}
21
- ]
33
+ board :
34
+ - fqbn : arduino-beta:mbed:nano33ble
35
+ - fqbn : arduino-beta:mbed:envie_m4
36
+ - fqbn : arduino-beta:mbed:envie_m7
22
37
23
38
# compile only the examples compatible with each board
24
39
include :
25
40
- board :
26
- fqbn : " arduino-beta:mbed:nano33ble"
41
+ fqbn : arduino-beta:mbed:nano33ble
27
42
additional-sketch-paths : ' "libraries/PDM" "libraries/ThreadDebug"'
28
43
- board :
29
- fqbn : " arduino-beta:mbed:envie_m4"
44
+ fqbn : arduino-beta:mbed:envie_m4
30
45
additional-sketch-paths : ' "libraries/doom" "libraries/KernelDebug" "libraries/Portenta_SDCARD" "libraries/Portenta_System" "libraries/Portenta_Video" '
31
46
- board :
32
- fqbn : " arduino-beta:mbed:envie_m7"
47
+ fqbn : arduino-beta:mbed:envie_m7
33
48
additional-sketch-paths : ' "libraries/doom" "libraries/KernelDebug" "libraries/Portenta_Audio" "libraries/Portenta_SDCARD" "libraries/Portenta_System" "libraries/Portenta_Video" "libraries/ThreadDebug" "libraries/USBHOST"'
34
49
35
50
steps :
61
76
- source-path: "./"
62
77
name: "arduino-beta:mbed"
63
78
sketch-paths : " ${{ env.UNIVERSAL_SKETCH_PATHS }} ${{ matrix.additional-sketch-paths }}"
64
- verbose : ' false'
79
+ verbose : ' false'
You can’t perform that action at this time.
0 commit comments