mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-14 15:16:40 +00:00
Adopts hardware Channel Activity Detection (wired into RadioLibWrapper::isChannelActive() alongside our RSSI-threshold check and RX duty-cycle power-save), MCU temperature telemetry, LR2021 standby workaround, DISPLAY_SCALE/FLIP overrides, NRF52Board shutdownPeripherals() refactor, and misc upstream fixes. Declines upstream's ConfigSerializer-based NodePrefs rewrite, MultiSerialInterface/interface_manager, and UIColor palette system — each would have broken large parts of the Solo-specific feature set (NodePrefs fields, per-variant single serial_interface, enum-based DisplayDriver::Color). Flagged as candidate follow-up migrations, not permanent no's. Also fixes several pre-existing bugs surfaced while chasing silent merge breaks (stale newMsg() override signature in ui-tiny/ui-orig, dead UIEventType::newContactMessage case, missing ContactsIterator init), bumps FIRMWARE_VERSION/MESHCORE_VERSION to 1.17, and fixes a missing <cstdlib> include that broke the native ConfigSerializer unit tests. Verified via 13+ pio run builds across ESP32/nRF52, all 3 companion UI variants, and 7 display drivers, plus the full native unit test suite (33/33 passing). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
name: PR Build Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main, dev]
|
|
paths:
|
|
- 'src/**'
|
|
- 'examples/**'
|
|
- 'variants/**'
|
|
- 'platformio.ini'
|
|
- '.github/workflows/pr-build-check.yml'
|
|
push:
|
|
branches: [main, dev]
|
|
paths:
|
|
- 'src/**'
|
|
- 'examples/**'
|
|
- 'variants/**'
|
|
- 'platformio.ini'
|
|
- '.github/workflows/pr-build-check.yml'
|
|
|
|
env:
|
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
environment:
|
|
# ESP32-S3 (most common platform)
|
|
- Heltec_v3_companion_radio_ble
|
|
- Heltec_v3_repeater
|
|
- Heltec_v3_room_server
|
|
# nRF52
|
|
- RAK_4631_companion_radio_ble
|
|
- RAK_4631_companion_radio_ethernet
|
|
- RAK_4631_repeater
|
|
- RAK_4631_repeater_ethernet
|
|
- RAK_4631_room_server
|
|
- RAK_4631_room_server_ethernet
|
|
# RP2040
|
|
- PicoW_repeater
|
|
# STM32
|
|
- wio-e5-mini_repeater
|
|
# ESP32-C6
|
|
- LilyGo_Tlora_C6_repeater_
|
|
# LR1110 (nRF52)
|
|
- wio_wm1110_repeater
|
|
# SX1276 (ESP32)
|
|
- Tbeam_SX1276_repeater
|
|
|
|
steps:
|
|
- name: Clone Repo
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Build Environment
|
|
uses: ./.github/actions/setup-build-environment
|
|
|
|
- name: Build ${{ matrix.environment }}
|
|
run: pio run -e ${{ matrix.environment }}
|