Skip to content

Commit 15cce12

Browse files
committed
Add basic sanity test github PR workflow
Build a few generic variants to verify at least those compile. Can't hurt.
1 parent f4748a7 commit 15cce12

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: PR Build Check
2+
3+
on:
4+
pull_request:
5+
branches: [main, dev]
6+
paths:
7+
- 'src/**'
8+
- 'examples/**'
9+
- 'variants/**'
10+
- 'platformio.ini'
11+
- '.github/workflows/pr-build-check.yml'
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
environment:
20+
# ESP32-S3 (most common platform)
21+
- Heltec_v3_companion_radio_ble
22+
- Heltec_v3_repeater
23+
- Heltec_v3_room_server
24+
# nRF52
25+
- RAK_4631_companion_radio_ble
26+
- RAK_4631_repeater
27+
- RAK_4631_room_server
28+
# RP2040
29+
- PicoW_repeater
30+
# STM32
31+
- wio-e5-mini_repeater
32+
# ESP32-C6
33+
- LilyGo_Tlora_C6_repeater_
34+
35+
steps:
36+
- name: Clone Repo
37+
uses: actions/checkout@v4
38+
39+
- name: Setup Build Environment
40+
uses: ./.github/actions/setup-build-environment
41+
42+
- name: Build ${{ matrix.environment }}
43+
run: pio run -e ${{ matrix.environment }}

0 commit comments

Comments
 (0)