Update stable platform URL to version 2025.10.00 #201
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: Examples | |
| on: | |
| workflow_dispatch: # Manually start a workflow | |
| push: | |
| paths-ignore: | |
| - '.github/**' # Ignore changes towards the .github directory | |
| - '**.md' # Do no build if *.md files changes | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-15] | |
| python-version: ["3.11", "3.12", "3.13"] | |
| example: | |
| - "examples/arduino-asyncudp" | |
| - "examples/arduino-blink" | |
| - "examples/arduino-webserver" | |
| - "examples/tasmota" | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "latest" | |
| enable-cache: false | |
| - name: Install dependencies | |
| run: | | |
| uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip | |
| pio pkg install --global --platform file://. | |
| - name: git clone Tasmota and add to examples | |
| if: matrix.example == 'examples/tasmota' | |
| run: | | |
| git clone https://github.com/arendst/Tasmota.git examples/tasmota | |
| cp examples/tasmota_platformio_override.ini examples/tasmota/platformio_override.ini | |
| - name: Build examples | |
| run: | | |
| pio run -d ${{ matrix.example }} |