VERY experimental Nintendo Switch 2 emulator
C++
ci: Fix Azure PR Builds
Zach Hilmanccc6c732fe1d
diff --git a/.ci/templates/build-single.yml b/.ci/templates/build-single.ymlindex c411e25d1d..ec5d1e3c6d 100644--- a/.ci/templates/build-single.yml+++ b/.ci/templates/build-single.yml@@ -1,17 +1,19 @@parameters:artifactSource: 'true'+ cache: 'false'steps:- task: DockerInstaller@0displayName: 'Prepare Environment'inputs:dockerVersion: '17.09.0-ce'-- task: CacheBeta@0- displayName: 'Cache Build System'- inputs:- key: yuzu-v1-$(BuildName)-$(BuildSuffix)-$(CacheSuffix)- path: $(System.DefaultWorkingDirectory)/ccache- cacheHitVar: CACHE_RESTORED+- ${{ if eq(parameterscache, 'true') }}:+ - task: CacheBeta@0+ displayName: 'Cache Build System'+ inputs:+ key: yuzu-v1-$(BuildName)-$(BuildSuffix)-$(CacheSuffix)+ path: $(System.DefaultWorkingDirectory)/ccache+ cacheHitVar: CACHE_RESTORED- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/exec.sh && ./.ci/scripts/$(ScriptFolder)/exec.shdisplayName: 'Build'- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/upload.sh && RELEASE_NAME=$(BuildName) ./.ci/scripts/$(ScriptFolder)/upload.shdiff --git a/.ci/templates/build-standard.yml b/.ci/templates/build-standard.ymlindex 6cd209dbf7..aa180894e7 100644--- a/.ci/templates/build-standard.yml+++ b/.ci/templates/build-standard.yml@@ -19,4 +19,5 @@ jobs:needSubmodules: 'true'- template: ./build-single.ymlparameters:- artifactSource: 'false'\ No newline at end of file+ artifactSource: 'false'+ cache: $(parameters.cache)\ No newline at end of filediff --git a/.ci/templates/build-testing.yml b/.ci/templates/build-testing.ymlindex cb77362050..f024a0058a 100644--- a/.ci/templates/build-testing.yml+++ b/.ci/templates/build-testing.yml@@ -30,3 +30,4 @@ jobs:- template: ./build-single.ymlparameters:artifactSource: 'false'+ cache: 'false'diff --git a/.ci/yuzu-mainline.yml b/.ci/yuzu-mainline.ymlindex 164bcb165b..2930a85647 100644--- a/.ci/yuzu-mainline.yml+++ b/.ci/yuzu-mainline.yml@@ -21,3 +21,5 @@ stages:dependsOn: formatjobs:- template: ./templates/build-standard.yml+ parameters:+ cache: 'true'diff --git a/.ci/yuzu-verify.yml b/.ci/yuzu-verify.ymlindex d01c1feed0..5492e696ad 100644--- a/.ci/yuzu-verify.yml+++ b/.ci/yuzu-verify.yml@@ -15,4 +15,6 @@ stages:dependsOn: formatjobs:- template: ./templates/build-standard.yml- - template: ./templates/build-testing.yml\ No newline at end of file+ parameters:+ cache: 'false'+ - template: ./templates/build-testing.yml