Files
DigiRadio/.github/workflows/ci.yml
T
micheleandCursor 9b46fe9465 Document Si4684 blob procurement and enforce CI policy.
Expand local-only firmware README, add check_si4684_blobs.py to verify gitignore and clean history, and gate main with a new si4684-blobs workflow job.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 07:38:04 +02:00

59 lines
1.4 KiB
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
host-tests:
runs-on: ubuntu-24.04
defaults:
run:
working-directory: Software
steps:
- uses: actions/checkout@v4
- name: Install build tools
run: sudo apt-get update && sudo apt-get install -y cmake g++-14
- name: Build and run host tests
run: |
cmake -S components/core/test -B build-host \
-DCMAKE_CXX_COMPILER=g++-14
cmake --build build-host
ctest --test-dir build-host --output-on-failure
doxygen:
runs-on: ubuntu-24.04
defaults:
run:
working-directory: Software
steps:
- uses: actions/checkout@v4
- name: Install Doxygen
run: sudo apt-get update && sudo apt-get install -y doxygen
- name: Run Doxygen (fail on warnings)
run: doxygen Doxyfile
manual-sync:
runs-on: ubuntu-24.04
defaults:
run:
working-directory: Software
steps:
- uses: actions/checkout@v4
- name: Check manual class sync
run: python3 tools/check-manual-sync.py --src components --manual docs/manual
si4684-blobs:
runs-on: ubuntu-24.04
defaults:
run:
working-directory: Software
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check Si4684 blob policy
run: python3 tools/check_si4684_blobs.py