summaryrefslogtreecommitdiffstats
path: root/.ci/templates/build-single.yml
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2019-09-22 22:01:29 +0200
committerFlame Sage <chris062689@gmail.com>2019-09-22 22:01:29 +0200
commitcc3db2aa43ee617ed5086976e0354c72feba713c (patch)
tree4e61181ceb6784282cb034cf5231d9b259ce6e1d /.ci/templates/build-single.yml
parentMerge pull request #2683 from DarkLordZach/lock-exit (diff)
downloadyuzu-cc3db2aa43ee617ed5086976e0354c72feba713c.tar
yuzu-cc3db2aa43ee617ed5086976e0354c72feba713c.tar.gz
yuzu-cc3db2aa43ee617ed5086976e0354c72feba713c.tar.bz2
yuzu-cc3db2aa43ee617ed5086976e0354c72feba713c.tar.lz
yuzu-cc3db2aa43ee617ed5086976e0354c72feba713c.tar.xz
yuzu-cc3db2aa43ee617ed5086976e0354c72feba713c.tar.zst
yuzu-cc3db2aa43ee617ed5086976e0354c72feba713c.zip
Diffstat (limited to '')
-rw-r--r--.ci/templates/build-single.yml13
1 files changed, 6 insertions, 7 deletions
diff --git a/.ci/templates/build-single.yml b/.ci/templates/build-single.yml
index 357731eb9..cd9d1df88 100644
--- a/.ci/templates/build-single.yml
+++ b/.ci/templates/build-single.yml
@@ -7,13 +7,12 @@ steps:
displayName: 'Prepare Environment'
inputs:
dockerVersion: '17.09.0-ce'
-- ${{ if eq(parameters.cache, 'true') }}:
- - task: CacheBeta@0
- displayName: 'Cache Build System'
- inputs:
- key: yuzu-v1-$(BuildName)-$(BuildSuffix)-$(CacheSuffix)
- path: $(System.DefaultWorkingDirectory)/ccache
- cacheHitVar: CACHE_RESTORED
+- 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.sh
displayName: 'Build'
- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/upload.sh && RELEASE_NAME=$(BuildName) ./.ci/scripts/$(ScriptFolder)/upload.sh