@@ -18,10 +18,10 @@ jobs:
18
18
board :
19
19
# Uno
20
20
# https://github.com/arduino/ArduinoCore-avr/blob/master/boards.txt
21
- # - fqbn: arduino:avr:mega
21
+ - fqbn : arduino:avr:mega
22
22
# platforms: |
23
- # - name : arduino:avr
24
- # source -url: https://downloads.arduino.cc/packages/package_index.json
23
+ - pname : arduino:avr
24
+ - psource -url : https://downloads.arduino.cc/packages/package_index.json
25
25
26
26
# ESP32
27
27
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
@@ -32,60 +32,61 @@ jobs:
32
32
33
33
# ESP32-S2
34
34
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
35
- # - fqbn: esp32:esp32:esp32s2
35
+ - fqbn : esp32:esp32:esp32s2
36
36
# platforms: |
37
- # - name : esp32:esp32
38
- # source -url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
37
+ - pname : esp32:esp32
38
+ - psource -url : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
39
39
40
40
# ESP32-C3
41
41
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
42
- # - fqbn: esp32:esp32:esp32c3
42
+ - fqbn : esp32:esp32:esp32c3
43
43
# platforms: |
44
- # - name : esp32:esp32
45
- # source -url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
44
+ - pname : esp32:esp32
45
+ - psource -url : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
46
46
47
47
# Artemis / Apollo3
48
48
# https://github.com/sparkfun/Arduino_Apollo3/blob/main/boards.txt
49
- # - fqbn: SparkFun:apollo3:sfe_artemis_atp
49
+ - fqbn : SparkFun:apollo3:sfe_artemis_atp
50
50
# platforms: |
51
- # - name : SparkFun:apollo3
52
- # source -url: https://raw.githubusercontent.com/sparkfun/Arduino_Apollo3/master/package_sparkfun_apollo3_index.json
51
+ - pname : SparkFun:apollo3
52
+ - psource -url : https://raw.githubusercontent.com/sparkfun/Arduino_Apollo3/master/package_sparkfun_apollo3_index.json
53
53
54
54
# ESP8266
55
55
# https://github.com/esp8266/Arduino/blob/master/boards.txt
56
- # - fqbn: esp8266:esp8266:thingdev
56
+ - fqbn : esp8266:esp8266:thingdev
57
57
# platforms: |
58
- # - name : esp8266:esp8266
59
- # source -url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
58
+ - pname : esp8266:esp8266
59
+ - psource -url : https://arduino.esp8266.com/stable/package_esp8266com_index.json
60
60
61
61
# SAMD21
62
62
# https://github.com/arduino/ArduinoCore-samd/blob/master/boards.txt
63
- # - fqbn: arduino:samd:mkr1000
63
+ - fqbn : arduino:samd:mkr1000
64
64
# platforms: |
65
- # - name : arduino:samd
66
- # # source -url: https://downloads.arduino.cc/packages/package_index.json
65
+ - pname : arduino:samd
66
+ - psource -url : https://downloads.arduino.cc/packages/package_index.json
67
67
68
68
# Nano BLE 33 / nRF52840
69
69
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
70
- # - fqbn: arduino:mbed:nano33ble
70
+ - fqbn : arduino:mbed:nano33ble
71
71
# platforms: |
72
- # - name: arduino:mbed
73
- # # source -url: https://downloads.arduino.cc/packages/package_index.json
72
+ - name : arduino:mbed
73
+ - psource -url : https://downloads.arduino.cc/packages/package_index.json
74
74
75
75
# RP2040
76
76
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
77
- # - fqbn: rp2040:rp2040:sparkfun_promicrorp2040
77
+ - fqbn : rp2040:rp2040:sparkfun_promicrorp2040
78
78
# platforms: |
79
- # - name: rp2040:rp2040
80
- # source -url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
79
+ - name : rp2040:rp2040
80
+ - psource -url : https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
81
81
82
82
# STM32
83
83
# https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
84
- # - fqbn: STMicroelectronics:stm32:GenF4
84
+ - fqbn : STMicroelectronics:stm32:GenF4
85
85
# platforms: |
86
- # - name : STMicroelectronics:stm32
87
- # source -url: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
86
+ - pname : STMicroelectronics:stm32
87
+ - psource -url : https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
88
88
89
+ # not using the arduino action to compile everything - it fails to load libraries at a given ref/branch (using toolkit at a specific commit)
89
90
steps :
90
91
- name : Checkout
91
92
uses : actions/checkout@v3
@@ -116,21 +117,5 @@ jobs:
116
117
117
118
- name : Compile Sketch
118
119
run : arduino-cli compile --fqbn ${{ matrix.board.fqbn }} examples/Example_01_BasicReadings --library .
119
- # note using a dev branch of the toolkit until version published
120
- # - name: Compile Sketch
121
- # uses: arduino/compile-sketches@v1.1.0
122
- # with:
123
- # platforms: ${{ matrix.board.platforms }}
124
- # fqbn: ${{ matrix.board.fqbn }}
125
- # libraries: |
126
- # - source-path: ./
127
- # - source-url: https://github.com/sparkfun/SparkFun_Toolkit.git#dc0f0ca
128
- # sketch-paths: |
129
- # - examples/Example_01_BasicReadings
130
- # enable-warnings-report: true
131
- # enable-deltas-report: true
132
- # verbose: true
133
-
134
- # outputs:
135
- # report-artifact-name: ${{ steps.report-artifact-name.outputs.report-artifact-name }}
120
+
136
121
0 commit comments