Skip to content

ci: add change-aware builds and Go releases - #45

Merged
samuelbles07 merged 2 commits into
developmentfrom
ci
Jul 24, 2026
Merged

ci: add change-aware builds and Go releases#45
samuelbles07 merged 2 commits into
developmentfrom
ci

Conversation

@samuelbles07

@samuelbles07 samuelbles07 commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add change-aware CI and tag-driven releases so pull requests build only affected targets while AirGradient Go release tags publish versioned firmware bundles.

Changes

  • Add a tested change selector with dynamic firmware and host-test execution
  • Skip compilation for documentation-only changes and conservatively build all products for shared or unknown changes
  • Pin ESP-IDF v5.5.4, cache managed components, and enforce lockfile stability
  • Derive the Go firmware version from Git tags, commits, and working-tree state
  • Add a generic release workflow that packages and publishes Go firmware images
  • Document CI, versioning, and release behavior

Validation

  • Passed 15 build-selector unit tests
  • Passed AirGradient Go and Reference firmware builds for the CI change
  • Passed the native host-test suite for the CI change
  • Verified exact-tag, post-tag, dirty, untagged, and malformed-tag version scenarios
  • Passed repository pre-commit checks

@samuelbles07 samuelbles07 changed the title ci: add change-aware build workflows ci: add change-aware builds and Go releases Jul 24, 2026
@samuelbles07
samuelbles07 merged commit c7bd43c into development Jul 24, 2026
8 checks passed
@samuelbles07
samuelbles07 deleted the ci branch July 24, 2026 20:52
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.

1 participant