Skip to content

.github/workflows/build-sketches.yml #212

.github/workflows/build-sketches.yml

.github/workflows/build-sketches.yml #212

on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
defaults:
run:
working-directory: .github/workflows/tests
jobs:
build-sketches:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- board: mega128
- board: 168p
- board: 328p
- board: 644p
- board: 1284pBOB
- board: 1284pSTD
- board: bluepill
- board: maplemini
- board: esp32
- board: rp2040
- board: efm32
steps:
# GIT Checkout
- uses: actions/checkout@v2
- name: Setup Arduino CLI
uses: arduino/[email protected]
with:
version: "0.17.0"
- name: Install Libs and Cores
run: ./install-deps.sh
- name: Download sketches
run: ./download-sketches.sh
- name: Compile Sketches
run: ./test.sh ${{ matrix.board }}