optimized workflows

Signed-off-by: Peter Siegmund <peter@rdkr.com>
This commit is contained in:
Peter Siegmund
2024-05-30 08:54:17 +02:00
parent 25c0bc070f
commit 4dc20c62d2
2 changed files with 39 additions and 0 deletions

View File

@@ -2,7 +2,11 @@ name: Build the ESP-IDF Project
on:
push:
paths:
- "ePaper-ESP-IDF/**"
pull_request:
paths:
- "ePaper-ESP-IDF/**"
jobs:
build:

35
.github/workflows/platform-io_build.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Build the PlatformIO Project
on:
push:
paths:
- "ePaper/**"
pull_request:
paths:
- "ePaper/**"
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: Static code analysis
run: pio check -d $PWD/ePaper
- name: Build bare metal
run: pio run -d $PWD/ePaper