From 7665d467325b5c64c73dfbdfb6be3ed5cda1d849 Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Tue, 29 Aug 2023 15:35:33 +0200 Subject: [PATCH] Added GitHub workflow --- .github/workflows/workflow.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..20fedcf --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,32 @@ +name: PlatformIO CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: lts/* + cache: yarn + cache-dependency-path: '**/package-lock.json' + - 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 BTClock firmare + run: pio run -e esp32wemos-s3-mini_BW + + - name: Build BTClock filesystem + run: pio run -e esp32wemos-s3-mini_BW --target buildfs \ No newline at end of file