The GitHub Action to setup vcpkg for your C++ based projects. Stores built ports using Binary Caching backed onto GH Cache.
MIT License
Changes:
Fixes for deprecated features for GitHub runners:
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 9 months ago
Changes:
Note: to keep your workflow up to date with bug and security fixes, just use the v11
branch to stay on the most recent v11.x
version of this action, e.g., uses: lukka/run-vcpkg@v11
. Instead to pin to a particular release, you can use one of the tags, for example uses: lukka/[email protected]
to pin your workflow to the v11.5
release.
Published by lukka 10 months ago
Changes:
vcpkgGitCommitId
input is now optional, and the Git commit id is retrieved from either vcpkg-configuration.json
or vcpkg.json
.builtin
kind is supported, the git
or filesystem
kinds are not supported.Note: to keep your workflow up to date with bug and security fixes, just use the v11
branch to stay on the most recent v11.x
version of this action, e.g., uses: lukka/run-vcpkg@v11
. Instead to pin to a particular release, you can use one of the tags, for example uses: lukka/[email protected]
to pin your workflow to the v11.3
release.
Published by lukka 12 months ago
Changes:
GITHUB_WORKSPACE
file system tree. This fixes https://github.com/lukka/run-vcpkg/issues/213
Note: to keep your workflow up to date with bug and security fixes, just use the v11
branch to stay on the most recent v11.x
version of this action, e.g., uses: lukka/run-vcpkg@v11
. Instead to pin to a particular release, you can use one of the tags, for example uses: lukka/[email protected]
to pin your workflow to the v11.2 release.
Published by lukka 12 months ago
Changes:
vcpkg.json
when runVcpkgInstall:false
. This is a small perf improvement.[email protected]
and create an issue.@actions
packages updated to most recent versions, along all other dependencies.Note: to keep your workflow up to date with bug and security fixes, just use the v11
branch to stay on the most recent v11.x
version of this action, e.g., uses: lukka/run-vcpkg@v11
Published by lukka over 1 year ago
Attention:
- Requires the most recent version of vcpkg
, 2023-03-29
or more recent, that is commit id 5b1214315250939257ef5d62ecdcbca18cf4fb1c
or more recent.
- Please keep using run-vcpkg@10
if you cannot use the tip of the vcpkg's branch.
Changes:
vcpkg
with Binary Caching backed to GitHub Action cache:
Note: to keep your workflow up to date with bug and security fixes, just use the v11
branch to stay on the most recent v11.x
version of this action, e.g., uses: lukka/run-vcpkg@v11
Published by lukka over 1 year ago
Attention:
- Requires the most recent version of vcpkg
, 2023-03-29
or more recent, that is commit id 5b1214315250939257ef5d62ecdcbca18cf4fb1c
or more recent.
- Please keep using run-vcpkg@10
if you cannot use the tip of the vpckg's branch.
Changes:
run-vcpkg@v10
action.Note: to keep your workflow up to date with bug and security fixes, just use the v11
branch to stay on the most recent v11.x
version of this action, e.g., uses: lukka/run-vcpkg@v11
Published by lukka almost 2 years ago
Changes:
buildtrees
content is not saved into cache).Note: to keep your workflow up to date with bug and security fixes, just use the v10
branch to stay on the most recent v10.x
version of this action, e.g., uses: lukka/run-vcpkg@v10
Published by lukka about 2 years ago
Changes:
Fixes for deprecated features on GitHub runners:
- save-state
and set-output
commands deprecation: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
- node12 deprecation: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
Note: to keep your workflow up to date with bug and security fixes, just use the v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-vcpkg@v10
Published by lukka about 2 years ago
Changes:
Fixes for deprecated features for GitHub runners:
save-state
command deprecation: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
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 about 2 years ago
Changes:
prependedCacheKey
input for letting users to prepend to the cache key.Note: to keep your workflow up to date with bug and security fixes, just use the v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-vcpkg@v10
Published by lukka about 2 years ago
Changes:
mpm audit
Note: to keep your workflow up to date with bug and security fixes, just use the v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-vcpkg@v10
Published by lukka over 2 years ago
Changes:
Note: to keep your workflow up to date with bug and security fixes, just use the v10 branch to stay on the most recent v10.x version of this action, e.g., uses: lukka/run-vcpkg@v10
Published by lukka over 2 years ago
Changes:
Note: to keep your workflow up to date with bug and security fixes, just use the v10
branch to stay on the most recent v10.x
version of this action, e.g., uses: lukka/run-vcpkg@v10
Published by lukka over 2 years ago
Changes:
The status of the job cannot be fetched correctly hence in any way. Hence the doNotCacheOnWorkflowFailure
input is dropped and the action is not trying to detect a cancelled workflow with the intent of skipping the save of the cache (useful to avoid saving a partial cache). Now the cache is saved on the post action when:
run-vcpkg
execution succeeded.Users could implement their own logic and set the RUNVCPKG_NO_CACHE
environment variable in any step of the workflow to force the post action to skip saving the cache.
The vcpkg-configuration.json
file is automatically hashed and added to the cache key whenever found side by side with the hashed vcpkg.json
file.
Disabled vcpkg's telemetry by default. It can be overridden by defining the environment variable VCPKG_ENABLE_METRICS
.
Published by lukka about 3 years ago
Changes:
run-vcpkg
in order to support vcpkg's manifest mode: vcpkg.json.vcpkg
, but to let it run at run-cmake
execution time (i.e. when CMake
is generating project files).vcpkg.json
for contributing to the key of vcpkg's artifact caching.Published by lukka over 3 years ago
Changes:
Fixes for #83
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
Changes:
The run-vcpkg
action accepts a list of regular expressions (in logCollectionRegExps
input) that are used to identify log files and dump their content in the workflow log, to ease diagnosing failures. The default regular expressions are for CMake and vcpkg generated log files.
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
Changes:
Fix for #80, that is a fatal check for vcpkgCommitId
being a valid SHA1 hash (40 hex digits) is implemented.
Improved the documentation about vcpkgCommitId
.
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
Changes:
Fix for https://github.com/lukka/run-vcpkg/issues/77
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