
You can also run vcpkg use after a previous vcpkg activate to enable all artifacts invoked by both activateand use. You can run vcpkg use after previously running vcpkg use on another artifact to enable both artifacts at the same time. PR: Microsoft/vcpkg-tool#836 (thanks use now stacks with previous use or activate commands (but not vice versa)įor artifacts users, we have made the behavior of vcpkg use and vcpkg activate consistent when used multiple times. GitHub Actions Cache allows you to use a REST API to query and manage the cache for repositories in GitHub Actions.

The vcpkg binary caching feature now works with the GitHub Actions Cache. Vcpkg tool releases on GitHub are now amd64 (was previously x86), as we do not expect many users to prefer x86 going forward.īinary Caching Support for GitHub Actions Cache Official vcpkg Tool Release Architecture is Now amd64
Github actions how to#
To learn more about the new triplets and how to use them, visit Chuck’s blog post on the topic.
Github actions code#
Tripletīuilds static C++ libraries for Xbox Series X|SĪnother benefit of these new triplets is for open-source library maintainers, who can validate that their code will build against the WINAPI_FAMILY_GAMES partition used on Xbox using only the public Windows SDK. Thank you to Chuck Walbourn from the Xbox organization for preparing these triplets. This makes it easy for developers to build open-source dependencies for this platform. The appropriate triplet is automatically chosen when using the Gaming.Xbox.*.圆4 custom platforms in the Microsoft GDK with Xbox Extensions via the vcpkg integrate functionality. Vcpkg now supports targeting Xbox out of the box with four new community triplets. More details will be shared in a separate blog post (coming soon!).
Github actions install#
You must run vcpkg integrate install to configure the built-in copy of vcpkg as the one for use by the IDE and in order to add enable MSBuild and CMake integration. Visual Studio users can run vcpkg commands from a Developer Command Prompt for Visual Studio targeting a new version of the IDE – both the ones embedded in the IDE as well as external terminals.

Notable Changes vcpkg now included with Visual Studio IDEĪs of Visual Studio 2022 (version 17.6), vcpkg is now added by default for IDE installations that include C++ workloads. The main vcpkg repo has over 5,300 forks and 18,400 stars on GitHub.125 contributors submitted PRs, issues, or participated in discussions in the repo.There are now 2,190 total libraries available in the vcpkg public registry.As always, we validate each change to a port by building all other ports that depend on or are depended by the library that is being updated for our nine main triplets.

