4
.github/workflows/esp-idf_build.yml
vendored
4
.github/workflows/esp-idf_build.yml
vendored
@@ -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
35
.github/workflows/platform-io_build.yml
vendored
Normal 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
|
Reference in New Issue
Block a user