Files
Kill_LIFE/templates/kill-life-project/.github/workflows/kill-life-ci.yml
T
L'électron rare b7258c72df feat: complete plans 20/24/25 + project template + BOM analyzer
Plan 20 (UI/UX YiACAD) — 100% complete:
- docs/YIACAD_COMPILED_ANCHOR_POINTS.md: C++ fork insertion points
- docs/YIACAD_APP_INTENTS_STUDY.md: App Intents + on-device models

Plan 24 (Mistral Studio) — blocked tasks annotated:
- docs/MISTRAL_STUDIO_STATUS_2026-03-25.md: status + execution order

Plan 25 (Hypnoled) — tooling ready:
- docs/HYPNOLED_STATUS_2026-03-25.md: status + 10-step execution
- tools/industrial/bom_analyzer.py: generic BOM parser + LCSC suggestions

Project template:
- templates/kill-life-project/: full scaffold for client repos
- tools/project_init.sh: clone + apply template + commit
- docs/PROJECT_TEMPLATE.md: usage guide

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 02:32:53 +01:00

63 lines
1.5 KiB
YAML

name: Kill_LIFE CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
erc-drc:
name: KiCad ERC/DRC
runs-on: ubuntu-latest
container:
image: ghcr.io/inti-cmnb/kicad8_auto:latest
steps:
- uses: actions/checkout@v4
- name: Run ERC
run: |
for sch in $(find hardware/pcb -name '*.kicad_sch' -not -path '*/libs/*'); do
echo "--- ERC: $sch ---"
kicad-cli sch erc --exit-code-violations "$sch" || exit 1
done
- name: Run DRC
run: |
for pcb in $(find hardware/pcb -name '*.kicad_pcb'); do
echo "--- DRC: $pcb ---"
kicad-cli pcb drc --exit-code-violations "$pcb" || exit 1
done
bom-check:
name: BOM Validation
runs-on: ubuntu-latest
needs: erc-drc
steps:
- uses: actions/checkout@v4
- name: Validate BOM exists
run: |
if [ ! -f hardware/bom/bom.csv ]; then
echo "WARNING: No BOM found at hardware/bom/bom.csv"
else
echo "BOM found, $(wc -l < hardware/bom/bom.csv) lines"
fi
firmware-build:
name: Firmware Build
runs-on: ubuntu-latest
if: hashFiles('firmware/platformio.ini') != ''
steps:
- uses: actions/checkout@v4
- name: Setup PlatformIO
uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install platformio
- name: Build firmware
run: cd firmware && pio run