fix: Update platformio.ini and examples #62
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: BuildTest | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
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: Run build test_esp8266 using PlatformIO | |
run: pio test -e test_esp8266 --without-testing --without-uploading | |
- name: Run build test_esp32 using PlatformIO | |
run: pio test -e test_esp32 --without-testing --without-uploading | |
- name: Run build test_esp32s3 using PlatformIO | |
run: pio test -e test_esp32s3 --without-testing --without-uploading |