Sha256: d8e2768a708cbb96ca252ab1d1215382859f93d720d998254900cbfe717f1317

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 KB

Contents

name: Build / ESP32

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

  push:
    paths:
      - 'src/**'
      - '.github/workflows/build_esp32.yml'
      
jobs:
  esp8266-nodemcuv2:
    name: esp32 ${{ matrix.sketches.name }}
    
    runs-on: ubuntu-latest
    
    strategy:
      matrix:
        sketches:
          - name: serial
          - name: wifi
            
        board:
          - fqbn: esp32:esp32:esp32doit-devkit-v1
            denko-target: esp32
            platforms: |
              - name: esp32:esp32
                source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
            libraries: |
              - name: IRremoteESP8266
                version: 2.8.4
              - name: ESP32Servo
              - 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_esp32.yml
denko-0.13.0 .github/workflows/build_esp32.yml