Comments (5)
@lukka - Thanks so much for the response
Nice catch with the clients/cpp
path - however that is something we do need in the 'real' repo (It was there due to eager copy pasting).
On the repro repository: https://github.com/sysnet-ai/vcpkg_caching_test seems like the last update helped (Moving to v7 and removing the extra path).
I bumped to v7 and it seems like our main job is now running with correct caching.
Thanks again, closing this out.
from run-vcpkg.
@sysnet-ai could you please provide a link to the workflow which is skipping (incorrectly) caching the binaries?
from run-vcpkg.
@lukka - I can't share the workflow since it is in a private repository, but I created a repo to reproduce it:
https://github.com/sysnet-ai/vcpkg_caching_test
As you can see 'Second Run' is not picking up anything from the cache even thou the first job does store something into the cache.
from run-vcpkg.
@sysnet-ai great to see a full repro of the problem, thanks!
I believe you could drop the clients/cpp
from the input:
additionalCachedPaths: ${{ github.workspace }}/clients/cpp/vcpkg_installed
This is because the installation happens in <repo-root>/vcpkg_installed
rather than <repo-root>/cpp/clients/vcpkg_installed
.
Let me know if this helps, thanks!
from run-vcpkg.
@sysnet-ai also, please use the latest version, i.e., lukka/run-vcpkg@v7
, and let me know as always, thanks!
from run-vcpkg.
Related Issues (20)
- run-vcpkg's vcpkg.exe no longer being picked up by MSBuild/Visual Studio even with `vcpkg integrate install` HOT 5
- Saving cache is skipped HOT 16
- Defer completely to vcpkg to determine whether a cache is outdated HOT 9
- Ensure the cache content is minimum required
- Need PATH to be set to included libraries created by vcpkg HOT 5
- Help wanted : vcpkg can't unpack oneTBB (Disk Full) HOT 2
- Issues when trying to use the action HOT 11
- VCPKG failing to build library HOT 17
- macos build fail after macos GH hosted runner updates on 16 Feb 2023 - Root cause: missing pkg-config HOT 1
- Saving duplicate cache HOT 2
- Use a separate cache entry for OS independent files HOT 10
- run-vcpkg could turn on/off the cache of vcpkg according to platform (e.g. doNotCache:false on ARM)
- v11 has been published onto the v10 branch HOT 2
- run-vcpkg@v11 requires manually setting environment variables for caching to work HOT 6
- run-vcpkg@v11 does not support prepended/appendedCacheKey HOT 2
- run-vcpkg failing with "dyld: Symbol not found: __ZNKSt3_V214error_category10_M_messageB5cxx11Ei" HOT 4
- One package not cached HOT 6
- About Static Linking HOT 4
- some errors when install package HOT 1
- Running the action in a container fails. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from run-vcpkg.