Skip to content

ci: bump default ESP-IDF build version to v6.0.1 - #751

Merged
finger563 merged 1 commit into
mainfrom
ci/bump-idf-v6
Sep 2, 2026
Merged

ci: bump default ESP-IDF build version to v6.0.1#751
finger563 merged 1 commit into
mainfrom
ci/bump-idf-v6

Conversation

@finger563

Copy link
Copy Markdown
Contributor

Development has been on ESP-IDF v6 for a while, and the twai component (used by the twai / canopen examples) requires the v6.0 esp_driver_twai node API. This bumps the build matrix default from v5.5.1 to v6.0.1.

  • esp_idf_version is now ${{ matrix.test.idf_version || 'v6.0.1' }} — the default is v6.0.1, but an optional per-entry matrix.test.idf_version hook remains so any single example can still pin a different IDF if it ever needs one.
  • CI (continue-on-error: true) will surface any example that does not yet build on v6 without blocking; those can be fixed as follow-ups.

Note: overlaps with the build.yml change in #748 (which added the per-entry idf_version mechanism defaulting to v5.5.1 and pinned the three twai examples to v6.0). Whichever merges first, the other gets a trivial rebase — once this lands, #748’s three idf_version: v6.0 pins become redundant and can be dropped.

🤖 Generated with Claude Code

All development has been on ESP-IDF v6 for a while, and the twai component (used
by the twai/canopen examples) requires the v6.0 esp_driver_twai node API. Bump
the build matrix default from v5.5.1 to v6.0.1 and keep an optional
matrix.test.idf_version hook so a specific example can still pin a different IDF
if it ever needs one. CI will surface any example that does not yet build on v6.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 2, 2026 03:21
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

✅Static analysis result - no issues found! ✅

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is a small, syntactically-correct workflow update that preserves per-matrix overrides, with only a minor follow-up doc-consistency nit noted.

Pull request overview

Updates the CI workflow so the ESP-IDF version used to build examples defaults to v6.0.1, while still allowing individual matrix entries to override the IDF version when needed.

Changes:

  • Switch esp_idf_version from a fixed v5.5.1 to a defaulted expression: ${{ matrix.test.idf_version || 'v6.0.1' }}.
  • Add inline workflow comments documenting the new default and the per-matrix override mechanism.
File summaries
File Description
.github/workflows/build.yml Changes the default ESP-IDF version used by the example-build CI step to v6.0.1 with an optional per-matrix override.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +346 to +348
# Default to ESP-IDF v6.0.1. Individual matrix entries can still pin a
# different IDF via matrix.test.idf_version if an example ever needs one.
esp_idf_version: ${{ matrix.test.idf_version || 'v6.0.1' }}
@finger563
finger563 merged commit 8ac2809 into main Sep 2, 2026
142 of 148 checks passed
@finger563
finger563 deleted the ci/bump-idf-v6 branch September 2, 2026 04:01
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.

2 participants