# This is a basic workflow to help you get started with Actionsname:CI# Controls when the action will run. on:# Triggers the workflow on push or pull request events but only for the main branchpush:branches:- mainpull_request:branches:- main# Allows you to run this workflow manually from the Actions tabworkflow_dispatch:# A workflow run is made up of one or more jobs that can run sequentially or in paralleljobs:# This workflow contains a single job called "build"build:# The type of runner that the job will run onruns-on:ubuntu-lateststrategy:matrix:board:- fqbn:arduino:avr:uno- fqbn:arduino:sam:arduino_due_x_dbg- fqbn:esp32:esp32:esp32platforms:| - name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json # Steps represent a sequence of tasks that will be executed as part of the jobsteps:# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it- uses:actions/checkout@v2# Compiles sketches- uses:arduino/compile-sketches@v1with:fqbn:${{ matrix.board.fqbn }}platforms:${{ matrix.board.platforms }}sketch-paths:| - ./libraries:'-'