From ea32eee96ff7a428ff7ea3df059658000ac21d1c Mon Sep 17 00:00:00 2001 From: Matthew Colvin Date: Mon, 24 Jul 2023 15:20:35 -0500 Subject: [PATCH] add platformIO build action Change-Id: I945ec3be82dbc862525bf81540e1c6ef267be476 --- .github/workflows/build-platformio.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build-platformio.yml diff --git a/.github/workflows/build-platformio.yml b/.github/workflows/build-platformio.yml new file mode 100644 index 0000000..4705c64 --- /dev/null +++ b/.github/workflows/build-platformio.yml @@ -0,0 +1,25 @@ +name: PlatformIO CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: | + ~/.cache/pip + ~/.platformio/.cache + key: ${{ runner.os }}-pio + - uses: actions/setup-python@v4 + with: + python-version: "3.9" + - name: Install PlatformIO Core + run: pip install --upgrade platformio + + - name: Build PlatformIO Project + working-directory: ./Platformio + run: pio run