Skip to content

ci(windows): retry Chocolatey installs and fail when a package is missing - #126

Merged
mcoliver merged 2 commits into
mainfrom
ci/windows-choco-retry
Oct 14, 2026
Merged

mcoliver merged 2 commits into
mainfrom
ci/windows-choco-retry

Conversation

@mcoliver

@mcoliver mcoliver commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The Chocolatey community feed sometimes returns 504. When it did on #122 and #125, choco installed 3 of 4 packages (pkgconfiglite failed) and the step still passed, so the Windows build failed two minutes later in CMake with Could NOT find PkgConfig.

The build tools step now:

  • retries choco install up to three times, waiting 30 and 60 seconds between tries
  • fails the step if choco still fails
  • checks that pkg-config.exe is present

The Vulkan SDK install uses the same retry.

Testing Done

…sing

The Chocolatey community feed sometimes returns 504. choco then installs
the other packages and the step passes, so the build fails later in CMake
with "Could NOT find PkgConfig". Retry up to three times, fail the step if
choco still fails, and check that pkg-config.exe is present.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
@mcoliver
mcoliver merged commit c04ef16 into main Oct 14, 2026
16 checks passed
@mcoliver
mcoliver deleted the ci/windows-choco-retry branch October 14, 2026 18:44
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