The GitHub Action to setup vcpkg for your C++ based projects. Stores built ports using Binary Caching backed onto GH Cache.
MIT License
Published by lukka over 3 years ago
Changes:
Note: to keep your workflow up to date with bug and security fixes, just use the v7
branch to stay on the most recent v7.x
version of this action, e.g., uses: lukka/run-vcpkg@v7
Published by lukka over 3 years ago
Published by lukka almost 4 years ago
Changes:
vcpkg --version
and verify the exitcode is zero. Otherwise, the vcpkg is built again (using the boostrap-vcpkg
script). Fixes https://github.com/lukka/run-vcpkg/issues/69
Note: to keep your workflow up to date with bug and security fixes, just use the v6
branch to stay on the most recent v6.x
version of this action, e.g., uses: lukka/run-vcpkg@v6
Published by lukka almost 4 years ago
Changes:
run-vcpkg
and run-cmake
to properly handle the vcpkg.json
manifest file and cache the vcpkg artifacts.run-vcpkg
to specify a user defined directory: additionalCachedPaths
. Added workflow validation tests.vcpkg.json
manifest file must be used with setupOnly: true
.Note: to keep your workflow up to date with bug and security fixes, just use v3
branch to stay on the most recent v3.x
version of this action, e.g., uses: lukka/run-vcpkg@v6
Published by lukka almost 4 years ago
Changes:
RUNVCPK_VCPKG_TRIPLET
is always set, even in setupOnly:true
mode;setupOnly:true
, caching happens at the end of the workflow (rather than at the end of the step execution).Published by lukka almost 4 years ago
The run-vcpkg
version v5
action saves in cache the vcpkg
generated artifacts during its step execution, rather than scheduling a caching job at the end of the workflow. This satisfies https://github.com/lukka/run-vcpkg/issues/24.
Other changes:
In order to get automatically updates (fix and security ones), in the workflow use the latest version like this: uses: lukka/run-vcpkg@v5
.
Published by lukka about 4 years ago
Version v4.1
is a service release for fixing security issue on branch v4
,
Note: just use v4
branch to stay on the most recent v4.x
version of this action.
Published by lukka about 4 years ago
No new functionality.
Code has been refactored to leverages NPM packages published from: https://github.com/lukka/run-cmake-vcpkg-action-libs
The initially created solution based on a common Git submodule for sharing code among multiple GitHub Actions and Azure DevOps tasks has been dropped!
Now using NPM packages it is easier than ever to contribute by adding new features or fix bugs.
All unit tests have been moved into the NPM packages repository.
Published by lukka over 4 years ago
Published by lukka over 4 years ago
When the vcpkgTriplet
input is provided, add its content to the cache's key.
Published by lukka over 4 years ago
Published by lukka over 4 years ago
Published by lukka over 4 years ago
To automatically cache/restore vcpkg
along with its artifacts, the run-vcpkg
action is now using actions/cache
v1.2 which brings bug fixes and improvements.
Published by lukka over 4 years ago
Ensure --overlay-ports=
is passed to all vcpkg
invocations.
Published by lukka over 4 years ago
No need to use actions/cache
, the run-vcpkg
action does it for you.
Published by lukka over 4 years ago
Added input setupOnly
to install and setup vcpkg
without installing any ports. Leveraging $VCPKG_ROOT
(or the step output RUNVCPKG_VCPKG_ROOT_OUT
) it is then possible to use it in a subsequent run
steps.
Added input useShell
, true by default, it allows to access to shell features like environment variables.
Published by lukka almost 5 years ago
Build dependencies for C/C++ source code on GitHub workflows using the multi-platform run-vcpkg GitHub action.