Added button test #9
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: | |
workflow_dispatch: | |
pull_request: | |
push: | |
paths: | |
- "examples/**" | |
- "src/**" | |
- "platformio.ini" | |
- ".github/workflows/platformio.yml" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
examples: | |
- examples/button | |
- examples/demo | |
- examples/drawExample | |
- examples/drawImages | |
- examples/grayscale_test | |
- examples/screen_repair | |
- examples/spi_driver | |
- examples/touch | |
- examples/wifi_sync | |
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: | | |
export PLATFORMIO_SRC_DIR=${{ matrix.examples }} | |
pio run |