From 513fe046b41406c16cc2eb3efe26e759f71e344c Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 1 Oct 2025 00:35:39 +1000 Subject: [PATCH] Create cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/cmake-single-platform.yml diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml new file mode 100644 index 0000000..031539d --- /dev/null +++ b/.github/workflows/cmake-single-platform.yml @@ -0,0 +1,29 @@ +name: PlatformIO CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cache/pip + ~/.platformio/.cache + key: ${{ runner.os }}-pio + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + - name: Install PlatformIO Core + run: pip install --upgrade platformio + + - name: Build PlatformIO Project + run: pio run +