Skip to content

Conversation

@roma-jam
Copy link
Collaborator

@roma-jam roma-jam commented Oct 15, 2025

Fix and extension for previously added CI workflows:

Common

  • Version of tools (idf-component-manager and idf-build-apps) as environment variables IDF_COMP_MAN_VER and IDF_BUILD_APPS_VER to simplify the version update procedure in the future.

Tools might be updated, so to decrease the time of searching the necessary value in the workflow code, they moved to env.

ESP-USB Test Apps - Build & Run

  • Build for all supported targets, not only for esp32s2. Run only on esp32s2

ESP-IDF USB Device examples - Build & Run

  • Build for all supported targets, not only for esp32s2. Run only on esp32s2.
  • Use local idf-build-apps configuration file (.github/ci/.build_and_run_idf_examples_config.toml), to exclude unnecessary examples (e.g. cherryusb) and configure the idf-build-apps.

ESP-IDF Network example (sta2eth) - Build

  • Fix override tinyusb component

@roma-jam roma-jam force-pushed the fix/override_tinyusb_in_network_example branch from c9d27bf to a101b49 Compare October 15, 2025 12:48
@roma-jam roma-jam changed the title fix(ci): Network example and all targets for esp-usb tests fix(ci): Network example and all targets for esp-usb tests [v0.18] Oct 15, 2025
@roma-jam roma-jam force-pushed the fix/override_tinyusb_in_network_example branch from a101b49 to a740eb6 Compare October 15, 2025 12:59
@roma-jam roma-jam self-assigned this Oct 16, 2025
@roma-jam roma-jam marked this pull request as draft October 16, 2025 12:05
@roma-jam roma-jam changed the title fix(ci): Network example and all targets for esp-usb tests [v0.18] fix(ci): Cleanup and extended workflows on v0.18 Oct 16, 2025
@roma-jam roma-jam changed the title fix(ci): Cleanup and extended workflows on v0.18 fix(ci): Cleanup and extension of workflows on v0.18 Oct 16, 2025
@roma-jam roma-jam force-pushed the fix/override_tinyusb_in_network_example branch 3 times, most recently from c526ace to 4a85b18 Compare October 17, 2025 11:49
@roma-jam roma-jam marked this pull request as ready for review October 17, 2025 13:13
@roma-jam roma-jam changed the title fix(ci): Cleanup and extension of workflows on v0.18 fix(ci): Cleanup and extension of workflows [v0.18] Oct 17, 2025
@roma-jam roma-jam requested a review from Copilot October 21, 2025 20:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances and fixes CI workflows for ESP-IDF integration, focusing on build and test automation. The changes centralize version management, expand target coverage, and improve artifact handling.

Key changes:

  • Centralized tool versions (idf-component-manager and idf-build-apps) as environment variables for easier maintenance
  • Extended build targets from esp32s2-only to all supported targets, while keeping test execution limited to esp32s2
  • Introduced configuration file for filtering and configuring ESP-IDF example builds

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/build_iot_examples.yml Added version environment variables, renamed paths for clarity, fixed component override for network example
.github/workflows/build_and_run_idf_examples.yml Added version variables, configuration file support, expanded build targets, improved artifact path handling
.github/workflows/build_and_run_esp_usb_test_apps.yml Added version variables and workflow description, expanded to all targets, improved path handling and documentation
.github/ci/.build_and_run_idf_examples_config.toml New configuration file to exclude cherryusb examples and standardize build directory naming

- Add all targets to esp-usb test apps and esp-idf examples
- Fix override tinyusb in the network example
@roma-jam roma-jam force-pushed the fix/override_tinyusb_in_network_example branch from 4a85b18 to 8486e5c Compare October 22, 2025 11:13
@roma-jam roma-jam merged commit 14ad0c4 into release/v0.18 Oct 23, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants