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:
push:
@@ -13,6 +13,9 @@ on:
permissions:
contents: read
env:
DEVICE: esp32cam
jobs:
build:
runs-on: ubuntu-latest
@@ -27,5 +30,5 @@ jobs:
python-version: '3.x'
- name: Install PlatformIO
run: pip install platformio
- name: Run PlatformIO Test
run: pio test -e esp32cam
- name: Build using PlatformIO
run: pio run -e $DEVICE