1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 17:11:12 +02:00

Enable vcpkg binary cache using Nuget

Add Nuget binary caching to vcpkg builds
Enable Jfrog Artifactory as Nuget source in CI builds
Add manual non-interactive Nuget authentication
Prevent CMake from overwriting VCPKG_BINARY_SOURCES
Use CI builds to auto generate cache artifacts within Artifactory
Enable action trigger kind "workflow_dispatch" within `cmake_build.yml`

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
This commit is contained in:
Emily Mabrey
2021-08-21 08:41:58 -04:00
parent 13914c5125
commit 03d8c31316
2 changed files with 25 additions and 1 deletions

View File

@@ -24,6 +24,10 @@ endif()
if(VCPKG)
set(ENV{VCPKG_DISABLE_METRICS} true)
if(NOT DEFINED ENV{VCPKG_BINARY_SOURCES})
set(ENV{VCPKG_BINARY_SOURCES} "clear;default,readwrite;nuget,https://tenacityteam.jfrog.io/artifactory/api/nuget/tenacity-nuget,read")
endif()
set(ENV{VCPKG_FEATURE_FLAGS} "-compilertracking,manifests,registries,versions")
if(VCPKG_ROOT)
message(STATUS "Using dependencies from vcpkg repository at ${VCPKG_ROOT}")