Skip to content

Commit

Permalink
Create build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Dec 11, 2024
1 parent 4d2fdcc commit 87a7d29
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# see: https://github.com/marketplace/actions/test-compile-for-arduino

name: build
on: [push, pull_request]
jobs:
build:
name: build for MCU
runs-on: ubuntu-latest

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

- name: Checkout EthernetLarge library
uses: actions/checkout@v3
with:
repository: OPEnSLab-OSU/EthernetLarge
ref: master
path: CustomLibrary_EthernetLarge # must contain string "Custom"

- name: Compile sketch
uses: ArminJo/arduino-test-compile@v3
with:
arduino-board-fqbn: esp32:esp32:m5stack-atoms3:CDCOnBoot=cdc
arduino-platform: esp32:[email protected]
platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
required-libraries: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],Adafruit SGP30 [email protected],Adafruit BME680 [email protected],Adafruit VEML7700 [email protected],SparkFun AS7331 Arduino [email protected],SparkFun AS3935 Lightning Detector Arduino [email protected],[email protected],[email protected],[email protected],[email protected]
sketch-names: "*.ino"
sketch-names-find-start: bbn_*/*
extra-arduino-cli-args: "--warnings default"
set-build-path: true

0 comments on commit 87a7d29

Please sign in to comment.