Skip to content

ci: publish vmgstool as a github release#2820

Merged
tjones60 merged 6 commits intomicrosoft:mainfrom
tjones60:publish_vmgstool
Feb 26, 2026
Merged

ci: publish vmgstool as a github release#2820
tjones60 merged 6 commits intomicrosoft:mainfrom
tjones60:publish_vmgstool

Conversation

@tjones60
Copy link
Contributor

Automatically publish VmgsTool as a GitHub release when the crate version changes. Includes the necessary flowey infrastructure to do this.

Copilot AI review requested due to automatic review settings February 19, 2026 23:46
@tjones60 tjones60 requested review from a team as code owners February 19, 2026 23:46
Copy link
Contributor

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 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

Copy link
Contributor

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

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

@tjones60 tjones60 merged commit 84fdd82 into microsoft:main Feb 26, 2026
56 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.

5 participants