@@ -37,15 +37,27 @@ jobs:
37
37
- ~/Arduino/libraries/Arduino_LSM9DS1/examples
38
38
- ~/Arduino/libraries/SD/examples
39
39
- ~/Arduino/libraries/Arduino_JSON/examples
40
-
41
40
strategy :
42
41
fail-fast : false
43
42
44
43
matrix :
45
- fqbn :
46
- - " arduino:megaavr:uno2018:mode=on"
47
- - " arduino:megaavr:uno2018:mode=off"
48
- - " arduino:megaavr:nona4809"
44
+ board : [
45
+ {"fqbn": "arduino:megaavr:uno2018:mode=on", "type": "UnoWiFiRev2"},
46
+ {"fqbn": "arduino:megaavr:uno2018:mode=off", "type": "UnoWiFiRev2"},
47
+ {"fqbn": "arduino:megaavr:nona4809", "type": "NanoEvery"}
48
+ ]
49
+
50
+ # make board type-specific customizations to the matrix jobs
51
+ include :
52
+ # Uno WiFi Rev2
53
+ - board :
54
+ type : " UnoWiFiRev2"
55
+ additional-sketch-paths : |
56
+ - ~/Arduino/libraries/WiFiNINA/examples
57
+ # Nano Every
58
+ - board :
59
+ type : " NanoEvery"
60
+ additional-sketch-paths : ' '
49
61
50
62
steps :
51
63
- name : Checkout repository
@@ -75,11 +87,10 @@ jobs:
75
87
rm -r "$GITHUB_WORKSPACE/extras/examples/10.StarterKit_BasicKit/p11_CrystalBall"
76
88
# CapacitiveSensor library does not support megaAVR core yet
77
89
rm -r "$GITHUB_WORKSPACE/extras/examples/10.StarterKit_BasicKit/p13_TouchSensorLamp"
78
-
79
90
- name : Compile examples
80
91
uses : arduino/actions/libraries/compile-examples@master
81
92
with :
82
- fqbn : ${{ matrix.fqbn }}
93
+ fqbn : ${{ matrix.board. fqbn }}
83
94
libraries : |
84
95
- name: Adafruit IO Arduino
85
96
- name: Adafruit MQTT Library
@@ -116,8 +127,10 @@ jobs:
116
127
# Overwrite the Board Manager installation with the local platform
117
128
- source-path: "./"
118
129
name: "arduino:megaavr"
119
- sketch-paths : " ${{ env.UNIVERSAL_SKETCH_PATHS }}"
120
- enable-size-deltas-report : ' true'
130
+ sketch-paths : |
131
+ ${{ env.UNIVERSAL_SKETCH_PATHS }}
132
+ ${{ matrix.additional-sketch-paths }}
133
+ enable-deltas-report : ' true'
121
134
verbose : ' true'
122
135
123
136
- name : Save memory usage change report as artifact
0 commit comments