Skip to content

Commit 257f61b

Browse files
Add PlatformIO CI build and README badge
GitHub Actions workflow compiles the XIAO firmware with `pio run` on push/PR; README badge reflects its status. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 2caa642 commit 257f61b

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: PlatformIO Build
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: "3.12"
18+
19+
- name: Cache PlatformIO
20+
uses: actions/cache@v4
21+
with:
22+
path: |
23+
~/.platformio
24+
~/.cache/pip
25+
key: ${{ runner.os }}-pio-${{ hashFiles('platformio.ini') }}
26+
27+
- name: Install PlatformIO
28+
run: pip install platformio
29+
30+
- name: Build firmware
31+
run: pio run

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# mesh-cam
22

3+
[![PlatformIO Build](https://github.com/stackzac22/mesh-cam/actions/workflows/build.yml/badge.svg)](https://github.com/stackzac22/mesh-cam/actions/workflows/build.yml)
34
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
45

56
A two-board off-grid camera node for a Meshtastic mesh.

0 commit comments

Comments
 (0)