btclock_v2/.github/workflows/workflow.yml
2023-08-29 15:37:22 +02:00

32 lines
No EOL
782 B
YAML

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: '**/yarn.lock'
- 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