Skip to content

feat(ci): Build network examples form esp-idf#472

Merged
peter-marcisovsky merged 1 commit into
masterfrom
feat/ci_build_network_device_examples
Apr 17, 2026
Merged

feat(ci): Build network examples form esp-idf#472
peter-marcisovsky merged 1 commit into
masterfrom
feat/ci_build_network_device_examples

Conversation

@peter-marcisovsky

@peter-marcisovsky peter-marcisovsky commented Apr 15, 2026

Copy link
Copy Markdown
Collaborator

Description

Build esp-idf network examples using usb device component

examples/network/sta2eth correctly built

2026-04-15T09:12:48.2445150Z (cmake) App examples/network/sta2eth, target esp32s2, sdkconfig (default), build in examples/network/sta2eth/build_esp32s2_default
2026-04-15T09:12:48.2446539Z (cmake) App examples/network/sta2eth, target esp32s3, sdkconfig (default), build in examples/network/sta2eth/build_esp32s3_default

Related


Checklist

Before submitting a Pull Request, please ensure the following:

  • 🚨 This PR does not introduce breaking changes.
  • All CI checks (GH Actions) pass.
  • Documentation is updated as needed.
  • Tests are updated or added as necessary.
  • Code is well-commented, especially in complex areas.
  • Git history is clean — commits are squashed to the minimum necessary.

Note

Low Risk
Changes are limited to CI configuration/workflow wiring; main risk is inadvertently breaking the build matrix or artifact paths for existing USB example jobs.

Overview
Extends the IDF examples CI to include building the networking example examples/network/sta2eth (in addition to existing USB host/device examples) and disables it when USB OTG or Wi‑Fi are unavailable.

Updates build_and_run_idf_examples.yml to manage separate USB_EXAMPLES_PATH and NETWORK_EXAMPLES_PATH, apply the esp_tinyusb override to sta2eth, and adjust artifact upload/run steps to continue operating only on USB example outputs.

Reviewed by Cursor Bugbot for commit 21f332d. Bugbot is set up for automated code reviews on this repo. Configure here.

@peter-marcisovsky peter-marcisovsky self-assigned this Apr 15, 2026
@peter-marcisovsky peter-marcisovsky added CI CI related PR BUILD_AND_TEST_IDF_EXAMPLES Build and run esp-idf usb host and device examples in PR labels Apr 15, 2026
    - network example examples/network/sta2eth uses usb device component
    - add build of the example with override component to esp-usb ci
@peter-marcisovsky peter-marcisovsky force-pushed the feat/ci_build_network_device_examples branch from 8c26681 to 21f332d Compare April 16, 2026 15:29
@peter-marcisovsky peter-marcisovsky marked this pull request as ready for review April 16, 2026 15:29
@peter-marcisovsky peter-marcisovsky added the Status: Reviewing Issue is being reviewed label Apr 16, 2026
Comment thread .github/workflows/build_and_run_idf_examples.yml
@peter-marcisovsky peter-marcisovsky merged commit c71c7ba into master Apr 17, 2026
81 checks passed
@peter-marcisovsky peter-marcisovsky deleted the feat/ci_build_network_device_examples branch April 17, 2026 07:27
@peter-marcisovsky peter-marcisovsky added Status: Done Issue is done internally and removed Status: Reviewing Issue is being reviewed labels Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BUILD_AND_TEST_IDF_EXAMPLES Build and run esp-idf usb host and device examples in PR CI CI related PR Status: Done Issue is done internally

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants