Updates the building workflow to build firmware
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user