From 8edc480890dfc395e29733f94fe3c63dbd45b8ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Thu, 13 Jun 2024 19:30:01 +0200 Subject: [PATCH] Disable VCPKG binary caching to save on build time. --- .github/workflows/linux_server_build.yml | 2 ++ .github/workflows/master_build.yml | 4 +++- .github/workflows/pr_build.yml | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux_server_build.yml b/.github/workflows/linux_server_build.yml index 757eba936c..eac0ebae6a 100644 --- a/.github/workflows/linux_server_build.yml +++ b/.github/workflows/linux_server_build.yml @@ -21,6 +21,8 @@ env: UPLOAD_ENDPOINT: "https://fra1.digitaloceanspaces.com" CMAKE_BACKTRACE_URL: ${{ secrets.SENTRY_MINIDUMP_ENDPOINT }} CMAKE_BACKTRACE_TOKEN: server_${{ github.event.number }}_${{ github.sha }} + # Disable VCPKG caching to save time. + VCPKG_FEATURE_FLAGS: -binarycaching jobs: build: diff --git a/.github/workflows/master_build.yml b/.github/workflows/master_build.yml index 0f8e719094..466789bb9c 100644 --- a/.github/workflows/master_build.yml +++ b/.github/workflows/master_build.yml @@ -1,6 +1,6 @@ # Copyright 2013-2019 High Fidelity, Inc. # Copyright 2020-2022 Vircadia contributors -# Copyright 2021-2022 Overte e.V. +# Copyright 2021-2024 Overte e.V. # SPDX-License-Identifier: Apache-2.0 name: Master CI Build @@ -26,6 +26,8 @@ env: UPLOAD_ENDPOINT: "https://fra1.digitaloceanspaces.com" CMAKE_BACKTRACE_URL: ${{ secrets.SENTRY_MINIDUMP_ENDPOINT }} CMAKE_BACKTRACE_TOKEN: master_${{ github.event.number }}_${{ github.sha }} + # Disable VCPKG caching to save time. + VCPKG_FEATURE_FLAGS: -binarycaching # OSX-specific variables DEVELOPER_DIR: /Applications/Xcode_11.2.app/Contents/Developer diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index 7c38e85066..6503ed4cb9 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -24,6 +24,8 @@ env: # We can't use secrets or actions here, so the actual value has to be hardcoded. CMAKE_BACKTRACE_URL: "https://o4504831972343808.ingest.sentry.io/api/4504832427950080/minidump/?sentry_key=f511de295975461b8f92a36f4a4a4f32" CMAKE_BACKTRACE_TOKEN: PR_${{ github.event.number }}_${{ github.sha }} + # Disable VCPKG caching to save time. + VCPKG_FEATURE_FLAGS: -binarycaching UPLOAD_BUCKET: overte-public UPLOAD_REGION: fra1