.github/workflows/build-sketches.yml #217
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |