@@ -18,10 +18,10 @@ jobs:
1818 board :
1919 # Uno
2020 # https://github.com/arduino/ArduinoCore-avr/blob/master/boards.txt
21- # - fqbn: arduino:avr:mega
21+ - fqbn : arduino:avr:mega
2222 # 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
2525
2626 # ESP32
2727 # https://github.com/espressif/arduino-esp32/blob/master/boards.txt
@@ -32,60 +32,61 @@ jobs:
3232
3333 # ESP32-S2
3434 # https://github.com/espressif/arduino-esp32/blob/master/boards.txt
35- # - fqbn: esp32:esp32:esp32s2
35+ - fqbn : esp32:esp32:esp32s2
3636 # 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
3939
4040 # ESP32-C3
4141 # https://github.com/espressif/arduino-esp32/blob/master/boards.txt
42- # - fqbn: esp32:esp32:esp32c3
42+ - fqbn : esp32:esp32:esp32c3
4343 # 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
4646
4747 # Artemis / Apollo3
4848 # https://github.com/sparkfun/Arduino_Apollo3/blob/main/boards.txt
49- # - fqbn: SparkFun:apollo3:sfe_artemis_atp
49+ - fqbn : SparkFun:apollo3:sfe_artemis_atp
5050 # 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
5353
5454 # ESP8266
5555 # https://github.com/esp8266/Arduino/blob/master/boards.txt
56- # - fqbn: esp8266:esp8266:thingdev
56+ - fqbn : esp8266:esp8266:thingdev
5757 # 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
6060
6161 # SAMD21
6262 # https://github.com/arduino/ArduinoCore-samd/blob/master/boards.txt
63- # - fqbn: arduino:samd:mkr1000
63+ - fqbn : arduino:samd:mkr1000
6464 # 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
6767
6868 # Nano BLE 33 / nRF52840
6969 # https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
70- # - fqbn: arduino:mbed:nano33ble
70+ - fqbn : arduino:mbed:nano33ble
7171 # 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
7474
7575 # RP2040
7676 # https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
77- # - fqbn: rp2040:rp2040:sparkfun_promicrorp2040
77+ - fqbn : rp2040:rp2040:sparkfun_promicrorp2040
7878 # 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
8181
8282 # STM32
8383 # https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt
84- # - fqbn: STMicroelectronics:stm32:GenF4
84+ - fqbn : STMicroelectronics:stm32:GenF4
8585 # 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
8888
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)
8990 steps :
9091 - name : Checkout
9192 uses : actions/checkout@v3
@@ -116,21 +117,5 @@ jobs:
116117
117118 - name : Compile Sketch
118119 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- 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+
136121
0 commit comments