Updates the building workflow to build firmware

This commit is contained in:
Rune Harlyk
2024-04-25 18:17:29 +02:00
committed by Rune Harlyk
parent 48e96d5775
commit 28e33dd396
+6 -3
View File
@@ -1,4 +1,4 @@
name: Frontend Tests name: PlatformIO Build
on: on:
push: push:
@@ -13,6 +13,9 @@ on:
permissions: permissions:
contents: read contents: read
env:
DEVICE: esp32cam
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -27,5 +30,5 @@ jobs:
python-version: '3.x' python-version: '3.x'
- name: Install PlatformIO - name: Install PlatformIO
run: pip install platformio run: pip install platformio
- name: Run PlatformIO Test - name: Build using PlatformIO
run: pio test -e esp32cam run: pio run -e $DEVICE