Skip to content

fix: 🚨 Adjust the format strings to use format specifi… #12

fix: 🚨 Adjust the format strings to use format specifi…

fix: 🚨 Adjust the format strings to use format specifi… #12

Workflow file for this run

name: test
on:
push:
branches: [ "main" ]
tags: [ "v*" ]
paths-ignore: [ "*.md" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
env:
IDF_COMPONENT_MANAGER: "1"
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# ESP-IDF versions and targets
idf_ver: [ v4.1, v4.2, v4.3, v4.4, v5.0 ]
idf_target: [ esp32, esp32s2, esp32s3, esp32c3, esp32h2 ]
# Filter out unsupported combinations
exclude:
- { idf_target: esp32s2, idf_ver: v4.1 }
- { idf_target: esp32c3, idf_ver: v4.1 }
- { idf_target: esp32c3, idf_ver: v4.2 }
- { idf_target: esp32c3, idf_ver: v4.3 }
- { idf_target: esp32s3, idf_ver: v4.1 }
- { idf_target: esp32s3, idf_ver: v4.2 }
- { idf_target: esp32s3, idf_ver: v4.3 }
- { idf_target: esp32h2, idf_ver: v4.1 }
- { idf_target: esp32h2, idf_ver: v4.2 }
- { idf_target: esp32h2, idf_ver: v4.3 }
- { idf_target: esp32h2, idf_ver: v4.4 }
container: espressif/idf:release-${{ matrix.idf_ver }}
steps:
- uses: actions/checkout@v4
- name: Setup Component Manager
run: |
. ${IDF_PATH}/export.sh
pip install --upgrade idf-component-manager
- name: Build
env:
IDF_TARGET: ${{ matrix.idf_target }}
working-directory: example
run: |
. ${IDF_PATH}/export.sh
idf.py build
platformio:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install platformio
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Setup Component Manager
run: |
pip install --upgrade idf-component-manager
- name: Build
run: platformio run -d example