Sha256: 1b5c844e651c5913c286eb0f6868484dedfbd7888ef040bf2090e0d5bfc3158d

Contents?: true

Size: 1.47 KB

Versions: 2

Compression:

Stored size: 1.47 KB

Contents

name: Build / SAMD

on:
  workflow_dispatch:
  
  pull_request:
    paths:
      - 'src/**'
      - '.github/workflows/build_samd.yml'

  push:
    paths:
      - 'src/**'
      - '.github/workflows/build_samd.yml'
      
jobs:
  samd-zero:
    name: samd ${{ 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: samd
            platforms: |
              - name: arduino:samd
            libraries: |
              - name: Servo
              - name: LiquidCrystal
              - name: IRremote
                version: 4.0.0
              - name: Ethernet
              - name: WiFi
              - name: Adafruit NeoPixel
                
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        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/compile-sketches@v1.0.1
        with:
          platforms: ${{ matrix.board.platforms }}
          fqbn: ${{ matrix.board.fqbn }}
          libraries: ${{ matrix.board.libraries }}
          sketch-paths: |
            - ${{ steps.generate.outputs.path }}
            

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
denko-0.13.1 .github/workflows/build_samd.yml
denko-0.13.0 .github/workflows/build_samd.yml