Tasmota esptool.py v4.7.1 #93
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: 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-14] | |
python-version: ["3.11", "3.12"] | |
example: | |
- "examples/arduino-asyncudp" | |
- "examples/arduino-blink" | |
- "examples/arduino-webserver" | |
- "examples/tasmota" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install wheel | |
pip install -U https://github.com/platformio/platformio/archive/develop.zip | |
pio pkg install --global --platform symlink://. | |
- 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 }} |