Skip to content

Consistently check for both ARDUINO_ARCH_AVR and __AVR__ #474

Consistently check for both ARDUINO_ARCH_AVR and __AVR__

Consistently check for both ARDUINO_ARCH_AVR and __AVR__ #474

name: Build Examples
# Triggers the workflow on push or pull request events
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_examples:
name: Build all examples with PlatformIO and the Arduino CLI
if: ${{ ! contains(github.event.head_commit.message, 'ci skip') }}
uses: EnviroDIY/workflows/.github/workflows/build_examples.yaml@main
with:
boards_to_build: 'mayfly,megaatmega2560,zeroUSB,adafruit_feather_m0'
secrets: inherit