ci: publish vmgstool as a github release#2820
Merged
tjones60 merged 6 commits intomicrosoft:mainfrom Feb 26, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds automated publishing of the VmgsTool utility as GitHub releases when the crate version changes. The implementation includes flowey pipeline infrastructure to extract version information from the Cargo.toml file, build VmgsTool for multiple targets (x86_64 and aarch64, for both Windows and Linux), and publish them as GitHub releases.
Changes:
- Added version field "0.1.0" to vmgstool Cargo.toml
- Refactored VmgstoolOutput structure to include version information alongside binaries
- Added new publish_gh_release infrastructure in flowey_lib_common for creating GitHub releases
- Integrated vmgstool publishing into CI pipeline (only runs on CI, not PR builds)
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| vm/vmgs/vmgstool/Cargo.toml | Added initial version "0.1.0" to enable version tracking |
| flowey/flowey_lib_hvlite/src/build_vmgstool.rs | Refactored to parse version from Cargo.toml and wrap binary output with version info |
| flowey/flowey_lib_hvlite/src/init_vmm_tests_env.rs | Updated to access bin field from refactored VmgstoolOutput structure |
| flowey/flowey_lib_hvlite/src/_jobs/local_build_and_run_nextest_vmm_tests.rs | Updated to access bin field from refactored VmgstoolOutput structure |
| flowey/flowey_lib_hvlite/src/_jobs/publish_vmgstool_gh_release.rs | New job that collects vmgstool builds and publishes them as a GitHub release |
| flowey/flowey_lib_hvlite/src/_jobs/mod.rs | Registered new publish_vmgstool_gh_release module |
| flowey/flowey_lib_hvlite/Cargo.toml | Added toml_edit dependency for parsing Cargo.toml |
| flowey/flowey_lib_common/src/publish_gh_release.rs | New generic infrastructure for publishing GitHub releases via gh CLI |
| flowey/flowey_lib_common/src/lib.rs | Registered new publish_gh_release module |
| flowey/flowey_hvlite/src/pipelines/checkin_gates.rs | Integrated vmgstool publishing job into CI pipeline with dependencies on all other jobs |
| .github/workflows/openvmm-ci.yaml | Generated workflow file with new publish vmgstool job (job23) |
| ci-flowey/openvmm-pr.yaml | Updated generated ADO pipeline file |
| .github/workflows/openvmm-pr.yaml | Updated generated workflow file |
| .github/workflows/openvmm-pr-release.yaml | Updated generated workflow file |
| Cargo.lock | Updated with new dependency and version changes |
flowey/flowey_lib_hvlite/src/_jobs/publish_vmgstool_gh_release.rs
Outdated
Show resolved
Hide resolved
mattkur
reviewed
Feb 20, 2026
31d3624 to
5b805f1
Compare
5b805f1 to
4a88345
Compare
benhillis
reviewed
Feb 26, 2026
benhillis
approved these changes
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automatically publish VmgsTool as a GitHub release when the crate version changes. Includes the necessary flowey infrastructure to do this.