-
-
Notifications
You must be signed in to change notification settings - Fork 7k
GHA/windows: restore a simple vcpkg job (zlib + libssh2) #17086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
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
To keep the basics tested. Building zlib takes about 1 minute. So far it seems the "lost" vcpkg binary cache is not a vcpkg-tool regression, but a GitHub server-side deprecation combined with lack of replacement service or lack of support for such service. Ref: https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/ Ref: microsoft/vcpkg#45073 Follow-up to 15fb1dc curl#17069
vszakats
added a commit
that referenced
this pull request
Apr 17, 2025
To keep testing these with MSVC: - UWP !ssl - arm64 build on the `windows-11-arm` runner - examples - OpenSSH-Windows (fix install on `windows-11-arm`) - `windows-2025` runner - cmake pre-fill checker Surprise: UWP doesn't support SSPI, which is required by curl's Schannel backend. Thus, no TLS support for this UWP build. It also suggests the Schannel UWP mingw-w64 binaries may be broken and just a happy build accident thanks to mingw-w64 headers being inaccurate. Building zlib + libssh2 might actually take up to 2+ minutes with vcpkg, instead of the previously estimated <1.5 minutes. Follow-up to e3912f0 #17086 Follow-up to 15fb1dc #17069 Closes #17089
nbaws
pushed a commit
to nbaws/curl
that referenced
this pull request
Apr 26, 2025
To keep the basics tested. Building zlib and libssh2 takes <1.5 minutes. So far it seems the "lost" vcpkg binary cache is not a vcpkg-tool regression, but a GitHub server-side deprecation combined with lack of replacement service or lack of vcpkg support for such service. Ref: https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/ Ref: microsoft/vcpkg#45073 Follow-up to 15fb1dc curl#17069 Closes curl#17086
nbaws
pushed a commit
to nbaws/curl
that referenced
this pull request
Apr 26, 2025
To keep testing these with MSVC: - UWP !ssl - arm64 build on the `windows-11-arm` runner - examples - OpenSSH-Windows (fix install on `windows-11-arm`) - `windows-2025` runner - cmake pre-fill checker Surprise: UWP doesn't support SSPI, which is required by curl's Schannel backend. Thus, no TLS support for this UWP build. It also suggests the Schannel UWP mingw-w64 binaries may be broken and just a happy build accident thanks to mingw-w64 headers being inaccurate. Building zlib + libssh2 might actually take up to 2+ minutes with vcpkg, instead of the previously estimated <1.5 minutes. Follow-up to e3912f0 curl#17086 Follow-up to 15fb1dc curl#17069 Closes curl#17089
nbaws
pushed a commit
to nbaws/curl
that referenced
this pull request
Apr 26, 2025
To keep the basics tested. Building zlib and libssh2 takes <1.5 minutes. So far it seems the "lost" vcpkg binary cache is not a vcpkg-tool regression, but a GitHub server-side deprecation combined with lack of replacement service or lack of vcpkg support for such service. Ref: https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/ Ref: microsoft/vcpkg#45073 Follow-up to 15fb1dc curl#17069 Closes curl#17086
nbaws
pushed a commit
to nbaws/curl
that referenced
this pull request
Apr 26, 2025
To keep testing these with MSVC: - UWP !ssl - arm64 build on the `windows-11-arm` runner - examples - OpenSSH-Windows (fix install on `windows-11-arm`) - `windows-2025` runner - cmake pre-fill checker Surprise: UWP doesn't support SSPI, which is required by curl's Schannel backend. Thus, no TLS support for this UWP build. It also suggests the Schannel UWP mingw-w64 binaries may be broken and just a happy build accident thanks to mingw-w64 headers being inaccurate. Building zlib + libssh2 might actually take up to 2+ minutes with vcpkg, instead of the previously estimated <1.5 minutes. Follow-up to e3912f0 curl#17086 Follow-up to 15fb1dc curl#17069 Closes curl#17089
vszakats
added a commit
that referenced
this pull request
Apr 29, 2025
The unplanned dropping of the granular vcpkg binary cache indeed fell into the cracks between Microsoft's various departments. The old method is now official dropped, without replacement either on the vcpkg side or the GitHub cache provider side. Without a granular cache, vcpkg is impractical for builds larger than a small dependency tree in CI, for performance reasons. A granular cache is critical for CI use. Building dependencies is not a goal of this CI, so a more desirable option would be pre-built binary downloads. This would also allow keeping job timeouts low, which is important for quick iteration in GHA when a flaky job requiring a manual retry needs all other jobs to finish first. (GHA often disregards step timeouts, which is another contributing factor here.) Windows remains tested extensively with MSYS2, curl-for-win, and via AppVeyor CI with MSVC + OpenSSL, and also in GHA via scaled back vcpkg jobs that perform well without caching. What's lost is the recently added Android OpenSSL build tests. We may consider building/cachine important dependencies manually as in GHA/linux-http3, and/or try integrating MSVC jobs with MSYS2 UCRT DLLs. Ref: microsoft/vcpkg-tool#1662 Ref: microsoft/vcpkg#45073 Follow-up to cd0ec47 #17089 Follow-up to e3912f0 #17086 Follow-up to 15fb1dc #17069 Closes #17200
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.
To keep the basics tested. Building zlib and libssh2 takes <1.5 minutes.
So far it seems the "lost" vcpkg binary cache is not a vcpkg-tool
regression, but a GitHub server-side deprecation combined with lack of
replacement service or lack of vcpkg support for such service.
Ref: https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/
Ref: microsoft/vcpkg#45073
Follow-up to 15fb1dc #17069