mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
Meta: Add a vcpkg cache to the devcontainer
This also means that the prebuilt devcontainer will have a populated vcpkg binary cache, speeding up the first build by a lot.
This commit is contained in:
committed by
Andrew Kaster
parent
8e716daa3d
commit
c4f7361a5b
Notes:
github-actions[bot]
2024-10-15 00:15:14 +00:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/c4f7361a5b7 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1763
27
.devcontainer/features/vcpkg-cache/devcontainer-feature.json
Normal file
27
.devcontainer/features/vcpkg-cache/devcontainer-feature.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "Caches Ladybird's vcpkg dependencies",
|
||||
"id": "vcpkg-cache",
|
||||
"version": "1.0.0",
|
||||
"description": "Create a prebuilt vcpkg binary cache for Ladybird developer use",
|
||||
"installsAfter": [ "./features/ladybird" ],
|
||||
"containerEnv": {
|
||||
"VCPKG_BINARY_SOURCES": ";files,/usr/local/share/vcpkg-binary-cache,read"
|
||||
},
|
||||
"options": {
|
||||
"release_triplet": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Build vcpkg dependencies with release configuration"
|
||||
},
|
||||
"debug_triplet": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Build vcpkg dependencies with debug configuration"
|
||||
},
|
||||
"sanitizer_triplet": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Build vcpkg dependencies with sanitizer configuration"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user