Files
lorakiss/.gitea/workflows/build-matrix.yml
Maze X a72e2f01ff
Some checks failed
Build Matrix / Build (esp32s3, Heltec WiFi LoRa 32 V3 (ESP32-S3, SX1262), heltec_v3) (push) Failing after 12s
CI/CD / Unit Tests (push) Has been cancelled
CI/CD / Lint and Format Check (push) Has been cancelled
CI/CD / Build heltec_v3 (push) Has been cancelled
CI/CD / Build seeed_xiao_s3_wio_sx1262 (push) Has been cancelled
CI/CD / Build Summary (push) Has been cancelled
Build Matrix / Build (esp32s3, Seeed XIAO ESP32-S3 + Wio SX1262, seeed_xiao_s3_wio_sx1262) (push) Has been cancelled
Update CI pipeline: enforce lint → test → build order and reduce targets
- Reorder CI jobs to run sequentially: lint, then test, then build
- Remove all unimplemented build targets, keeping only heltec_v3 and seeed_xiao_s3_wio_sx1262
- Update job dependencies with 'needs' to ensure proper execution order
2026-03-27 18:02:27 +01:00

60 lines
1.4 KiB
YAML

name: Build Matrix
on:
push:
branches: [ main ]
paths:
- 'src/**'
- 'hardware/**'
- 'soc/**'
- 'platformio.ini'
- '.gitea/workflows/build-matrix.yml'
pull_request:
branches: [ main ]
jobs:
build-matrix:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# ESP32-S3 targets (Heltec V3, Seeed Xiao S3)
- target: heltec_v3
description: "Heltec WiFi LoRa 32 V3 (ESP32-S3, SX1262)"
chip: esp32s3
- target: seeed_xiao_s3_wio_sx1262
description: "Seeed XIAO ESP32-S3 + Wio SX1262"
chip: esp32s3
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Cache PlatformIO
uses: actions/cache@v3
with:
path: ~/.platformio
key: ${{ runner.os }}-platformio-${{ matrix.chip }}-${{ hashFiles('**/platformio.ini') }}
restore-keys: |
${{ runner.os }}-platformio-
- name: Install PlatformIO
run: pip install platformio
- name: Build ${{ matrix.target }}
run: |
echo "Building: ${{ matrix.description }}"
pio run -e ${{ matrix.target }}
- name: Report
if: always()
run: |
echo "✅ Build completed for ${{ matrix.target }}"