diff --git a/.github/workflows/compile-board-firmware.yml b/.github/workflows/compile-board-firmware.yml new file mode 100644 index 0000000..3e45925 --- /dev/null +++ b/.github/workflows/compile-board-firmware.yml @@ -0,0 +1,31 @@ +name: Compile Sketch + +on: + - push + - pull_request + +jobs: + compile-sketch: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + # For more information: https://github.com/arduino/compile-sketches#readme + - name: Compile sketch + uses: arduino/compile-sketches@v1 + with: + platforms: | + - name: esp32:esp32 + source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json + fqbn: "esp32:esp32:esp32da:PartitionScheme=min_spiffs" + sketch-paths: | + - ./board-firmware/ + libraries: | + - source-url: https://github.com/freemyipod/arduino-audio-tools.git + version: add-scanning-callbacks + - source-url: https://github.com/freemyipod/ESP32-A2DP.git + version: add-scanning-callbacks + verbose: true + enable-deltas-report: true