Enable vcpkg caches

Change-Id: I9c2bddd7cb2d22fd57e43893875b7eef9549c69d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Alexey Edelev
2025-06-17 11:59:36 +02:00
parent e9687ee42e
commit e903efbdbc
2 changed files with 6 additions and 0 deletions

View File

@@ -87,4 +87,7 @@ export VCPKG_ROOT="$vcpkgRoot"
export VCPKG_BINARY_SOURCES="files,$HOME/vcpkg-cache/binaries,readwrite"
export X_VCPKG_ASSET_SOURCES="x-azurl,file:///$HOME/vcpkg-cache/assets,,readwrite"
SetEnvVar VCPKG_BINARY_SOURCES "$VCPKG_BINARY_SOURCES"
SetEnvVar X_VCPKG_ASSET_SOURCES "$X_VCPKG_ASSET_SOURCES"
echo "vcpkg = $vcpkgVersion" >> ~/versions.txt

View File

@@ -83,4 +83,7 @@ Set-EnvironmentVariable "VCPKG_ROOT" "$vcpkgRoot"
$env:VCPKG_BINARY_SOURCES = "files,V:/binaries,readwrite"
$env:X_VCPKG_ASSET_SOURCES = "x-azurl,file:///V:/assets,,readwrite"
Set-EnvironmentVariable "VCPKG_BINARY_SOURCES" $env:VCPKG_BINARY_SOURCES
Set-EnvironmentVariable "X_VCPKG_ASSET_SOURCES" $env:X_VCPKG_ASSET_SOURCES
Write-Output "vcpkg = $vcpkgVersion" >> ~/versions.txt