forked from lemonjesus/iPodBluetooth
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.24 KB
/
compile-board-firmware.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Compile Sketch
on:
- push
- pull_request
jobs:
compile-sketch:
runs-on: ubuntu-24.04
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
version: 2.0.17
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
cli-compile-flags: |
- --export-binaries
verbose: true
enable-deltas-report: true
- name: List files
run: ls -lha
- name: Upload exported binary files
uses: actions/upload-artifact@v4
with:
name: build
path: ./build/