run-vcpkg

The GitHub Action to setup vcpkg for your C++ based projects. Stores built ports using Binary Caching backed onto GH Cache.

MIT License

Stars
195
Committers
9
run-vcpkg - [email protected] - Servicing fixes Latest Release

Published by lukka 7 months ago

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.

run-vcpkg - [email protected]

Published by lukka 9 months ago

Changes:

  • Fix for #218 : The default triplet for ARM host is correctly set.

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.

run-vcpkg - [email protected]

Published by lukka 10 months ago

Changes:

  • This is a summary of the changes depicted in Pull Request #216 :
    the vcpkgGitCommitId input is now optional, and the Git commit id is retrieved from either vcpkg-configuration.json or vcpkg.json.
    Note: only the default-registry's builtin kind is supported, the git or filesystemkinds 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.

run-vcpkg - [email protected]

Published by lukka 12 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.2 release.

run-vcpkg - [email protected]

Published by lukka 12 months ago

Changes:

  • Avoid searching for vcpkg.json when runVcpkgInstall:false. This is a small perf improvement.
  • Update the action to require node v20, since v16 is out of support. If any problem occurs, please use [email protected] and create an issue.
  • Update dependencies to most recent ones: all libs and @actions packages updated to most recent versions, along all other dependencies.
  • Drop usage of gulp.
  • Update docs.

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

run-vcpkg - [email protected]

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:

  • Fix for #195: the following variables are defined by the action so that the a subsequent step can run vcpkg with Binary Caching backed to GitHub Action cache:
    • ACTIONS_CACHE_URL
    • ACTIONS_RUNTIME_TOKEN
  • reworked the README.md with better information about the cache management.

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

run-vcpkg - 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:

  • Delegates cache management to vcpkg which uses Binary Caching backed onto GitHub Action cache. This solves all the problems of the best effort cache management of the 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

run-vcpkg - [email protected]

Published by lukka almost 2 years ago

Changes:

  • created a workaround for https://github.com/lukka/run-vcpkg/issues/174 . The exclusion filter for saving the vcpkg artifacts onto the GitHub cache service is now working, and the overall cache size should be much smaller (e.g., the 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

run-vcpkg - [email protected]

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

run-vcpkg - [email protected] - Servicing fixes

Published by lukka about 2 years ago

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

run-vcpkg - [email protected]

Published by lukka about 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

run-vcpkg - [email protected]

Published by lukka about 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

run-vcpkg - [email protected]

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

run-vcpkg - [email protected]

Published by lukka over 2 years ago

Changes:

  • Fix for #135
  • Fix for #132

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

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:

    • the run-vcpkg execution succeeded.
    • there was a cache-miss.

    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.

Changes:

  • Redesigned the inputs of run-vcpkg in order to support vcpkg's manifest mode: vcpkg.json.
  • Simplified and minimized the set of inputs of the action. Now the default is to not run vcpkg, but to let it run at run-cmake execution time (i.e. when CMake is generating project files).
  • Automatic hash on vcpkg.json for contributing to the key of vcpkg's artifact caching.
  • Automatic computation of primary and fallback keys for maximizing reuse of the cache.
run-vcpkg - [email protected] - Fix diagnostic log automatic collection

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

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

run-vcpkg - [email protected] - check for vcpkgCommitId

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

run-vcpkg - [email protected] - fix check for vcpkg's version

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