Skip to content

Handle WiFi on Adafruit Feather M0 WiFi #24

Handle WiFi on Adafruit Feather M0 WiFi

Handle WiFi on Adafruit Feather M0 WiFi #24

name: ATSAMD21
on:
workflow_dispatch:
pull_request:
paths:
- "src/**"
- ".github/workflows/build_atsamd21.yml"
push:
paths:
- "src/**"
- ".github/workflows/build_atsamd21.yml"
jobs:
arduino_zero_native:
name: atsamd21 ${{ matrix.sketches.name }}
runs-on: ubuntu-latest
strategy:
matrix:
sketches:
- name: serial
- name: ethernet
- name: wifi
board:
- fqbn: arduino:samd:arduino_zero_native
denko-target: atsamd21
platforms: |
- name: arduino:samd
libraries: |
- name: Servo
- name: IRremote
version: 4.4.1
- name: Ethernet
- name: WiFi
- name: Adafruit NeoPixel
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Generate
id: generate
run: echo "path=$(./bin/denko sketch ${{ matrix.sketches.name }} --target ${{ matrix.board.denko-target }})" >> $GITHUB_OUTPUT
- name: Compile Arduino Sketches
uses: arduino/[email protected]
with:
platforms: ${{ matrix.board.platforms }}
fqbn: ${{ matrix.board.fqbn }}
libraries: ${{ matrix.board.libraries }}
sketch-paths: |
- ${{ steps.generate.outputs.path }}