Skip to content

ArduinoJSON v6.20.0+ compatibility #119

ArduinoJSON v6.20.0+ compatibility

ArduinoJSON v6.20.0+ compatibility #119

name: Compile Examples
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
LIBRARIES: WiFi101 WiFiNINA MKRNB MKRGSM ArduinoJson VidorPeripherals PubSubClient "SparkFun VL6180 Sensor" ArduinoMqttClient
strategy:
matrix:
fqbn: [
"arduino:samd:mkr1000",
"arduino:samd:mkrgsm1400",
"arduino:samd:mkrnb1500",
"arduino:samd:mkrwifi1010",
"arduino:samd:nano_33_iot",
"arduino:samd:mkrvidor4000",
'"esp8266:esp8266:huzzah" "http://arduino.esp8266.com/stable/package_esp8266com_index.json"',
'"adafruit:samd:adafruit_feather_m0:usbstack=arduino,debug=off" "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json"'
#'"adafruit:avr:feather32u4" "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json" ',
#'"esp32:esp32:esp32doit-devkit-v1:FlashFreq=80,UploadSpeed=921600,DebugLevel=none" "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"'
]
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: compile-examples for official Arduino boards
uses: arduino/actions/libraries/compile-examples@master
with:
fqbn: ${{ matrix.fqbn }}
libraries: ${{ env.LIBRARIES }}