EsPod class changes sync #68
This file contains hidden or 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: | |
| release: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| types: [opened, synchronize, reopened] | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # Define only the environments you want to build here | |
| environment: [SBC_NodeMCU32S, a1sMini,AiO-DAC] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache PlatformIO | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cache/pip | |
| ~/.platformio/.cache | |
| ~/.platformio/packages | |
| ~/.platformio/platforms | |
| .pio/libdeps | |
| .pio/build | |
| key: ${{ runner.os }}-pio-${{ hashFiles('**/platformio.ini') }}-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-pio-${{ hashFiles('**/platformio.ini') }}- | |
| ${{ runner.os }}-pio- | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install PlatformIO Core | |
| run: pip install --upgrade platformio | |
| - name: Build Specific Environments | |
| # This uses the environment defined in the matrix above | |
| run: pio run -e ${{ matrix.environment }} |