Skip to content

Commit

Permalink
Expand ci to esp32
Browse files Browse the repository at this point in the history
Now also compiles for the ESP32C3 and ESP32S2
  • Loading branch information
designer2k2 committed Nov 23, 2022
1 parent b66e733 commit 34003b0
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 27 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/compile_sketch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Compile Sketch

on:
- push
- pull_request

jobs:
build:
name: ${{ matrix.board.fqbn }}
runs-on: ubuntu-latest

strategy:
matrix:
board:
- fqbn: "ATTinyCore:avr:attinyx5micr"
- fqbn: "esp32:esp32:adafruit_qtpy_esp32s2"
- fqbn: "esp32:esp32:XIAO_ESP32C3"

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Compile
uses: arduino/compile-sketches@main
with:
platforms: |
- name: "ATTinyCore:avr"
source-url: "https://github.com/SpenceKonde/ATTinyCore/archive/1.5.2.zip"
source-path: "./avr/"
- name: "arduino:avr"
- name: esp32:esp32
source-url: https://github.com/raw/espressif/arduino-esp32/gh-pages/package_esp32_index.json
sketch-paths: |
- ./
fqbn: ${{ matrix.board.fqbn }}
libraries: |
- name: "Adafruit NeoPixel"
27 changes: 0 additions & 27 deletions .github/workflows/main.yml

This file was deleted.

0 comments on commit 34003b0

Please sign in to comment.