Skip to content

WARP Firmwares

WARP Firmwares #247

name: WARP Firmwares
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
environment: [warp3, warp2, warp, energy_manager_v2, energy_manager, smart_energy_broker]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio
./software/.pio
key: ${{ matrix.environment }}-${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: 'Build Firmware: ${{ matrix.environment }}'
working-directory: ./software
run: pio run -e ${{ matrix.environment }}