add github action

This commit is contained in:
2023-08-10 15:24:01 +02:00
parent 22ee65a994
commit ee54b0ed0b
+24
View File
@@ -0,0 +1,24 @@
name: ESP32 Build
on:
push:
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install -U platformio
platformio update
- name: Build bare metal
run: platformio run