mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
33 lines
856 B
YAML
33 lines
856 B
YAML
name: Compile Arduino Sketch
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
build-for-esp32:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
fqbn:
|
|
- esp32:esp32:esp32
|
|
# further ESP32 chips
|
|
#- esp32:esp32:esp32c3
|
|
#- esp32:esp32:esp32c2
|
|
#- esp32:esp32:esp32c6
|
|
#- esp32:esp32:esp32h2
|
|
#- esp32:esp32:esp32s3
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: arduino/compile-sketches@v1
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
fqbn: ${{ matrix.fqbn }}
|
|
platforms: |
|
|
- name: esp32:esp32
|
|
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
|
|
sketch-paths: |
|
|
- Software
|
|
cli-compile-flags: |
|
|
- --warnings="none"
|