From cbc5b296f17cdc3efa3e44897b12d475359d3414 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Sat, 24 Aug 2024 09:49:39 -0400 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8b13789..96d8f62 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1 +1,24 @@ +# 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: Compile sketch + uses: ArminJo/arduino-test-compile@v3 + with: + arduino-board-fqbn: esp32:esp32:m5stack-atoms3:CDCOnBoot=cdc + arduino-platform: esp32:esp32@2.0.15 + platform-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json + required-libraries: M5AtomS3@1.0.0,M5Unified@0.1.14 + sketch-names: "*.ino" + sketch-names-find-start: bbn_*/* + extra-arduino-cli-args: "--warnings default" + set-build-path: true