Skip to content

workflows: use winget for ninja and gperf on Windows#10680

Closed
tmleman wants to merge 1 commit intothesofproject:mainfrom
tmleman:topic/upstream/pr/gh/workflow/zephyr_build/windows
Closed

workflows: use winget for ninja and gperf on Windows#10680
tmleman wants to merge 1 commit intothesofproject:mainfrom
tmleman:topic/upstream/pr/gh/workflow/zephyr_build/windows

Conversation

@tmleman
Copy link
Copy Markdown
Contributor

@tmleman tmleman commented Apr 3, 2026

Replace Chocolatey with winget for installing ninja and gperf on Windows CI builds. The choco install of gperf has been failing sporadically in CI, causing random build failures.

Since PowerShell 7.6 GA, winget now properly refreshes the PATH environment variable after installations, which should provide a more stable solution.

See: microsoft/winget-cli#549

Replace Chocolatey with winget for installing ninja and gperf on Windows
CI builds. The choco install of gperf has been failing sporadically in
CI, causing random build failures.

Since PowerShell 7.6 GA, winget now properly refreshes the PATH
environment variable after installations, which should provide a more
stable solution.

See: microsoft/winget-cli#549

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
@tmleman tmleman closed this Apr 3, 2026
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