23
23
runs-on : ubuntu-latest
24
24
25
25
env :
26
- # libraries to install for all boards
27
- UNIVERSAL_LIBRARIES : ' "MFRC522" "Servo" "LiquidCrystal"'
28
26
# sketch paths to compile (recursive) for all boards
29
27
UNIVERSAL_SKETCH_PATHS : |
30
28
- extras/examples
@@ -39,16 +37,15 @@ jobs:
39
37
- ~/Arduino/libraries/Arduino_LSM9DS1/examples
40
38
- ~/Arduino/libraries/SD/examples
41
39
- ~/Arduino/libraries/Arduino_JSON/examples
42
- - ~/Arduino/libraries/WiFi/examples
43
40
44
41
strategy :
45
42
fail-fast : false
46
43
47
44
matrix :
48
- board : [
49
- {"fqbn": "arduino:megaavr:uno2018", "type": "unoWiFiRev2"},
50
- {"fqbn": "arduino:megaavr:nona4809", "type": "nanoEvery"}
51
- ]
45
+ fqbn :
46
+ - " arduino:megaavr:uno2018:mode=on "
47
+ - " arduino:megaavr:uno2018:mode=off "
48
+ - " arduino:megaavr:nona4809 "
52
49
53
50
steps :
54
51
- name : Checkout repository
64
61
- name : Install ArduinoCore-API
65
62
run : mv "$GITHUB_WORKSPACE/extras/ArduinoCore-API/api" "$GITHUB_WORKSPACE/cores/arduino"
66
63
67
- - name : Checkout Adafruit WiFiNINA
68
- uses : actions/checkout@v2
69
- with :
70
- repository : adafruit/WiFiNINA
71
- path : adafruit/WiFiNINA
72
-
73
64
- name : Checkout Basic examples
74
65
uses : actions/checkout@v2
75
66
with :
82
73
- name : Compile examples
83
74
uses : arduino/actions/libraries/compile-examples@master
84
75
with :
85
- fqbn : ${{ matrix.board. fqbn }}
76
+ fqbn : ${{ matrix.fqbn }}
86
77
libraries : |
87
78
- name: Adafruit IO Arduino
88
79
- name: Adafruit MQTT Library
@@ -106,16 +97,12 @@ jobs:
106
97
- name: Arduino_JSON
107
98
- name: Arduino_HTS221
108
99
- name: Firmata
109
- - name: ArduinoCloudThing
110
100
- name: Arduino_DebugUtils
111
101
- name: Arduino_LPS22HB
112
102
- name: ArduinoIoTCloudBearSSL
113
103
- name: ArduinoDMX
114
104
- name: ArduinoRS485
115
105
- name: Arduino_OAuth
116
- - name: WiFi
117
- - name: Bridge
118
- - name: Temboo
119
106
platforms : |
120
107
# Use Board Manager to install the latest release of Arduino megaAVR Boards to get the toolchain
121
108
- name: "arduino:megaavr"
0 commit comments