Skip to content

Version 1.4.2

Version 1.4.2 #92

Workflow file for this run

name: Arduino CI
on:
push:
branches:
- main
- devel
tags-ignore:
- '*.*.*'
paths-ignore:
- ".github/**"
- "**/*.adoc"
- "**/*.md"
- "**/*.txt"
- "library.*"
pull_request:
jobs:
compile-examples:
runs-on: ubuntu-latest
strategy:
matrix:
boards:
- vendor: arduino
arch: avr
name: nano
- vendor: arduino
arch: megaavr
name: nona4809
- vendor: arduino
arch: samd
name: nano_33_iot
- vendor: MightyCore
arch: avr
name: 1284
- vendor: DxCore
arch: megaavr
name: avrda
- vendor: teensy
arch: avr
name: teensy41
include:
- index: https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json
board:
vendor: MightyCore
# - index: https://drazzy.com/package_drazzy.com_index.json
- index: https://descartes.net/package_drazzy.com_index.json
board:
vendor: DxCore
- index: https://www.pjrc.com/teensy/package_teensy_index.json
board:
vendor: teensy
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v2
- name: Compile Examples
uses: arduino/compile-sketches@v1
with:
fqbn: ${{matrix.board.vendor}}:${{matrix.board.arch}}:${{matrix.board.name}}
platforms: |
- source-url: ${{matrix.index}}
name: ${{matrix.board.vendor}}:${{matrix.board.arch}}
sketch-paths: |
- examples
# - name: Compile Example for ESP32
# uses: espressif/esp-idf-ci-action@latest
# with:
# target: esp32dev
# path: 'libcli/examples/cli'
- name: Compile Example for STM32
uses: stm32duino/actions/compile-examples@main
with:
board-pattern: 'NUCLEO_F411RE'