Skip to content

Commit

Permalink
add: build esp32dev cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Friedjof committed Sep 30, 2023
1 parent 32aea4b commit 7610752
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build-esp32dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI/CD for PlatformIO

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.11'

- name: Install PlatformIO
run: |
pip install platformio
platformio update
- name: Build PlatformIO Project
run: platformio run

- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
with:
name: platformio-build
path: .pio/build

- name: Cleanup
run: rm -rf .pio

0 comments on commit 7610752

Please sign in to comment.