Skip to content

Commit

Permalink
ci: Update IDF Component Manager version
Browse files Browse the repository at this point in the history
  • Loading branch information
XDanielPaul committed Jan 22, 2025
1 parent 6dd8b4e commit 14a3f4c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/ci/override_managed_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import argparse
from pathlib import Path
from glob import glob
from idf_component_tools.manifest import ManifestManager
from idf_component_tools.manager import ManifestManager


def override_with_local_component(component, local_path, app):
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/build_idf_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,34 @@ name: Build ESP-IDF USB examples

on:
schedule:
- cron: '0 0 * * SAT' # Saturday midnight
- cron: "0 0 * * SAT" # Saturday midnight
pull_request:
types: [opened, reopened, synchronize]

jobs:
build:
strategy:
matrix:
idf_ver: ["release-v5.0", "release-v5.1", "release-v5.2", "release-v5.3", "release-v5.4", "latest"]
idf_ver:
[
"release-v5.0",
"release-v5.1",
"release-v5.2",
"release-v5.3",
"release-v5.4",
"latest",
]
runs-on: ubuntu-20.04
container: espressif/idf:${{ matrix.idf_ver }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
submodules: "true"
- name: Build ESP-IDF USB examples
shell: bash
run: |
. ${IDF_PATH}/export.sh
pip install idf-component-manager==1.5.2 idf-build-apps==2.4.3 --upgrade
pip install idf-component-manager==2.1.2 idf-build-apps==2.4.3 --upgrade
python .github/ci/override_managed_component.py esp_tinyusb device/esp_tinyusb ${IDF_PATH}/examples/peripherals/usb/device/tusb_*
cd ${IDF_PATH}
idf-build-apps find --path examples/peripherals/usb/device/ --recursive --target all --manifest-file examples/peripherals/.build-test-rules.yml --build-dir build_@t_@w --work-dir @f_@t_@w
Expand Down

0 comments on commit 14a3f4c

Please sign in to comment.