Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
user890104 committed Jan 10, 2025
1 parent 89512c0 commit bcc4d17
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/compile-board-firmware.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
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: Upload exported binary files
uses: actions/upload-artifact@v4
with:
name: build
path: ./board-firmware/build/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# iPod Bluetooth Board, Firmware, and Software

[![Compile Sketch](https://github.com/freemyipod/iPodBluetooth/actions/workflows/compile-board-firmware.yml/badge.svg?branch=ci)](https://github.com/freemyipod/iPodBluetooth/actions/workflows/compile-board-firmware.yml)

## [Watch The Video First](https://youtu.be/AVvXbqsTUnk)
### [Featured on Hackaday!](https://hackaday.com/2022/09/14/esp32-adds-bluetooth-to-an-ipod-nano/)

Expand Down

1 comment on commit bcc4d17

@lemonjesus
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌶

Please sign in to comment.