Skip to content

Add new powershell script for test-ci to remove need for choco install on build agents#115

Merged
danegsta merged 2 commits intomainfrom
dev/danegsta/choco
Apr 22, 2026
Merged

Add new powershell script for test-ci to remove need for choco install on build agents#115
danegsta merged 2 commits intomainfrom
dev/danegsta/choco

Conversation

@danegsta
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 22, 2026 04:39
Copy link
Copy Markdown
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

Adds a Windows-native CI test driver to remove the dependency on Chocolatey-installed GNU make/mingw on Windows agents, and wires it into GitHub Actions and Azure Pipelines.

Changes:

  • Introduces scripts/test-ci.ps1 to replicate make test-ci behavior on Windows without GNU make.
  • Updates GitHub Actions workflow to run the new PowerShell test driver on Windows.
  • Updates Azure Pipelines Windows test step to run the new PowerShell test driver and removes the Chocolatey install step.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
scripts/test-ci.ps1 New PowerShell CI driver that builds test prerequisites, runs gRPC codegen, and executes go test on Windows without make/mingw.
Makefile Adds notes documenting that Windows CI uses the PowerShell driver and must be kept in sync with test-ci targets.
.github/workflows/build-test.yml Switches Windows job to run pwsh ./scripts/test-ci.ps1 and removes Windows prereq installs.
.azure/pipelines/common-build.yml Removes Chocolatey install step and switches Windows test execution to the PowerShell script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/test-ci.ps1
Comment thread scripts/test-ci.ps1
Comment thread .azure/pipelines/common-build.yml Outdated
@danegsta danegsta requested a review from karolz-ms April 22, 2026 05:02
Copy link
Copy Markdown
Collaborator

@karolz-ms karolz-ms left a comment

Choose a reason for hiding this comment

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

Thank you 🤗

@danegsta danegsta merged commit af4f64e into main Apr 22, 2026
11 checks passed
@danegsta danegsta deleted the dev/danegsta/choco branch April 22, 2026 18:49
@danegsta
Copy link
Copy Markdown
Member Author

/backport to release/0.23

@github-actions
Copy link
Copy Markdown

Started backporting to release/0.23: https://github.com/microsoft/dcp/actions/runs/24796524780

@github-actions
Copy link
Copy Markdown

@danegsta backport PR couldn't be created automatically, please create the backport PR manually!

Open backport PR into release/0.23.

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.

3 participants