Initial commit
This commit is contained in:
30
T-Display-S3-main/.github/workflows/platformio.yml
vendored
Normal file
30
T-Display-S3-main/.github/workflows/platformio.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: PlatformIO CI
|
||||
|
||||
on: [push,pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
example: [example/SerialExample,example/TFT_Rainbow,example/arduino_gfx_demo,example/factory,example/lv_demos,example/nes,example/nes/data,example/ota,example/sd,example/tft,example/touch_test,example/usb_hid_pad]
|
||||
|
||||
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: Run PlatformIO
|
||||
run: pio ci --board=esp32-c3-devkitm-1
|
||||
env:
|
||||
PLATFORMIO_CI_SRC: ${{ matrix.example }}
|
||||
Reference in New Issue
Block a user