-
Notifications
You must be signed in to change notification settings - Fork 222
Try to fix Windows CI (GitHub Actions -- vcpkg manifest mode) #518
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
Merged
stefanseefeld
merged 14 commits into
boostorg:develop
from
stephengtuggy:fix/windows-ci
Jun 21, 2026
Merged
Changes from 5 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f11618c
Create vcpkg.json
stephengtuggy 8638eea
Update test-windows.yml
stephengtuggy c77ed5d
Update test-windows.yml: Fix the `--with-boost-include` directory pas…
stephengtuggy 210231a
List vcpkg directory contents, looking for config.hpp
stephengtuggy bd14940
vcpkg.json: Go back to the same commit for builtin-baseline as was us…
stephengtuggy 5d00264
Merge branch 'boostorg:develop' into fix/windows-ci
stephengtuggy b101bc8
test-windows.yml: Set VCPKG_ROOT environment variable, etc.
stephengtuggy 5f234ee
test-windows.yml: Make workflow much more like my other, working proj…
stephengtuggy 7cf1dc4
test-windows.yml: Search the entire github.workspace directory and su…
stephengtuggy bc83f51
test-windows.yml: Update `microsoft/setup-msbuild` to latest version,…
stephengtuggy 8ed3dbe
vcpkg.json: Go back to latest vcpkg release for builtin-baseline
stephengtuggy 96a1891
test-windows.yml: Try again to set the correct with-boost-include dir…
stephengtuggy 2732a51
test-windows.yml: Set VCPKG_INSTALLED_DIR env var, and use its value …
stephengtuggy 2460f88
test-windows.yml: Forgot to include `/x64-windows/include` in `--with…
stephengtuggy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json", | ||
| "name": "boost-python", | ||
| "version-string": "1.91.0", | ||
| "builtin-baseline": "88b1071e39f13b632644d9d953738d345a4ac055", | ||
| "dependencies": [ | ||
| "boost-config", | ||
| "boost-core", | ||
| "boost-function", | ||
| "boost-graph", | ||
| "boost-iterator", | ||
| "boost-lexical-cast", | ||
| "boost-mpl", | ||
| "boost-preprocessor", | ||
| "boost-smart-ptr", | ||
| "boost-static-assert", | ||
| "boost-align", | ||
| "python3" | ||
| ] | ||
| } |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps if you use
-User .to start looking in the local directory instead of $github.workspace/vcpkg ?Alternatively, I see that the install root can be set via the
vcpkgArguments: '--x-manifest-root=${{ github.workspace }}/vcpkg'directive.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command simply searches the
<github workspace>/vcpkgdirectory and all subdirectories for a file named config.hpp. It is literally the equivalent offind "${{ github.workspace}}/vcpkg" -iname 'config.hpp' -type f. And it's not finding the file anywhere! I don't understand what is going on here. Why would this file not be present?I'm not familiar with
-User .in conjunction with the Get-ChildItem command. What would that do?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the install root can be set using the
vcpkgArgumentsparameter, but I'm not sure it's best practice to do so.