Comments (3)
By design it is not possible.
vcpkg is a Git repository that for each commit id, it contains both the tool and all the libraries it provides. Hence if you want to have total control over your dependencies, you need to pin the commit id of vcpkg that is meant to be used as your project's dependency. One way to achieve this is to use vcpkg a submodule of your repository..
OTOH if you want to rely on an unknown version of vcpkg preinstalled on the GitHub hosted runners:
- how do you ensure you are using the same commit id locally while building on your dev box?
- your project is forced to use whatever the GitHub hosted runner dictates to use, it can change anytime, breaking the build.
from run-vcpkg.
Got it, thanks!
from run-vcpkg.
BTW, in future versions, it may be possible to specify package versions.
Current vcpkg approach is very weird to me :)
from run-vcpkg.
Related Issues (20)
- 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
- Use same cache for all builds? HOT 2
- default vcpkg install directory HOT 4
- Error: EACCES: permission denied, mkdir when running with act on full HOT 4
- 'Could not find toolchain file' even though path seems OK HOT 5
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.