Tweak handling of json file paths to be consistent across the various… #476
Workflow file for this run
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: ESP32 Build | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [windows-latest, ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: true | |
| - uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.cache/pip | |
| ~/.platformio/.cache | |
| key: ${{ runner.os }}-pio | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.13" | |
| - name: Set pip constraints for ESP-IDF | |
| shell: bash | |
| run: echo "PIP_CONSTRAINT=${{ github.workspace }}/Platformio/esp-idf-constraints.txt" >> $GITHUB_ENV | |
| - name: Install PlatformIO Core | |
| run: pip install --upgrade platformio | |
| - name: Prepare PlatformIO environments | |
| working-directory: ./Platformio | |
| run: pio pkg install | |
| - name: Build Rev_1 Hardware | |
| working-directory: ./Platformio | |
| run: pio run --environment esp32_Rev1 | |
| - name: Build Rev_5 Hardware | |
| working-directory: ./Platformio | |
| run: pio run --environment esp32_Rev5 | |
| - name: Build Rev_5_3661 Hardware | |
| working-directory: ./Platformio | |
| run: pio run --environment esp32_Rev5_3661 |