Skip to content

Commit

Permalink
adding platformio action
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeken committed Nov 29, 2023
1 parent 705e22e commit 49d84e2
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 86 deletions.
86 changes: 0 additions & 86 deletions .github/workflows.old/platformio.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Platform IO

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

build:
strategy:
fail-fast: false
matrix:
include:
- example: platformio
board: esp32dev

runs-on: ubuntu-latest
name: Build ${{ matrix.example }}-${{ matrix.board }}

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4

- name: Install Platform IO
run:
|
pip install -U platformio
platformio update

- name: Install Checked out PsychicHttp
run:
pio lib -g install $GITHUB_WORKSPACE

- name: Build example
run:
|
cd examples/${{ matrix.example }}
pio run -e ${{ matrix.board }}

0 comments on commit 49d84e2

Please sign in to comment.