Add version prompt, the current example is not suitable for running v… #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |