Skip to content

Build 2963

Build 2963 #3324

Workflow file for this run

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
env:
ARDUINO_SKIP_IDF_VERSION_CHECK: true
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-14]
example:
- "examples/arduino-blink"
- "examples/arduino-rmt-blink"
- "examples/arduino-usb-keyboard"
- "examples/arduino-wifiscan"
- "examples/espidf-arduino-blink"
- "examples/espidf-arduino-littlefs"
- "examples/espidf-blink"
- "examples/espidf-coap-server"
- "examples/espidf-exceptions"
- "examples/espidf-hello-world"
- "examples/espidf-http-request"
- "examples/espidf-peripherals-uart"
- "examples/espidf-peripherals-usb"
- "examples/espidf-storage-sdcard"
- "examples/espidf-ulp"
- "examples/espidf-ulp-riscv"
#- "examples/tasmota"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- 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' && matrix.os != 'windows-2022'"
run: |
git clone -b development --recursive --depth 1 --shallow-submodule https://github.com/arendst/Tasmota.git examples/tasmota
cp examples/tasmota_platformio_override.ini examples/tasmota/platformio_override.ini
- name: Build examples
if: "matrix.example != 'examples/tasmota' || matrix.os != 'windows-2022'"
run: |
pio run -d ${{ matrix.example }}