Comments (7)
I am not a big fan of sub-modules as I think this is an external dependency and could be fetched during the build process.
Another nice feature of using it dynamically is if you ever need to test different versions of libraries, and in this case, this can be done using a matrix project.
from run-vcpkg.
After a quick look: is the vcpkg submodule cloned on disk by action/checkout?
from run-vcpkg.
My second look at it: the vcpkgGitCommitId: 2020.11-1
input is using a tag, which is not (yet) supported. Only explicit SHA-1 are accepted. This is a feature request tracked by #47
from run-vcpkg.
Ahh, thís explains it. I'll rework it and see if it helps.
from run-vcpkg.
Worked like a charm. It'd be nice if it could be mentioned on README as it would have saved me a bunch of time.
from run-vcpkg.
@otavio Glad to know! Feel free to submit a PR to augment the README.md
.
Note that the README.md
never mentions the vcpkgGitCommitId
indeed, mostly because if the recommendation of "use vcpkg as a submodule" is followed then there is no need to set it at all :)
from run-vcpkg.
Check for vcpkgCommitId
being a SHA1 hash added in [email protected]
, and improved docs as well.
from run-vcpkg.
Related Issues (20)
- 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
- respect VCPKG_FORCE_SYSTEM_BINARIES HOT 8
- Unnecessary double compilation when using VCPKG_DEFAULT_TRIPLET HOT 4
- vcpkg.json link dead HOT 1
- Update v7 to Node.js 20 HOT 4
- Error when restoring cache HOT 1
- Meet an error when try to use this action. HOT 2
- [macOS 14] functional tests failing since 25th April 2024
- Commit id fetching doesn't work if checked out to a subdirectory 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.