summaryrefslogtreecommitdiff
path: root/.ci/templates
diff options
context:
space:
mode:
authorGravatar Zach Hilman2019-07-28 14:21:18 -0400
committerGravatar Zach Hilman2019-07-28 14:21:18 -0400
commitbcbec6f37c7660780e5862cda20634bf4f4db139 (patch)
tree6a1824569d769eee1a46d63ba6921c263ecb1e0a /.ci/templates
parentMerge pull request #2592 from FernandoS27/sync1 (diff)
downloadyuzu-bcbec6f37c7660780e5862cda20634bf4f4db139.tar.gz
yuzu-bcbec6f37c7660780e5862cda20634bf4f4db139.tar.xz
yuzu-bcbec6f37c7660780e5862cda20634bf4f4db139.zip
ci: Fix Azure PR Builds
Diffstat (limited to '.ci/templates')
-rw-r--r--.ci/templates/build-single.yml14
-rw-r--r--.ci/templates/build-standard.yml3
-rw-r--r--.ci/templates/build-testing.yml1
3 files changed, 11 insertions, 7 deletions
diff --git a/.ci/templates/build-single.yml b/.ci/templates/build-single.yml
index c411e25d1..ec5d1e3c6 100644
--- a/.ci/templates/build-single.yml
+++ b/.ci/templates/build-single.yml
@@ -1,17 +1,19 @@
1parameters: 1parameters:
2 artifactSource: 'true' 2 artifactSource: 'true'
3 cache: 'false'
3 4
4steps: 5steps:
5- task: DockerInstaller@0 6- task: DockerInstaller@0
6 displayName: 'Prepare Environment' 7 displayName: 'Prepare Environment'
7 inputs: 8 inputs:
8 dockerVersion: '17.09.0-ce' 9 dockerVersion: '17.09.0-ce'
9- task: CacheBeta@0 10- ${{ if eq(parameterscache, 'true') }}:
10 displayName: 'Cache Build System' 11 - task: CacheBeta@0
11 inputs: 12 displayName: 'Cache Build System'
12 key: yuzu-v1-$(BuildName)-$(BuildSuffix)-$(CacheSuffix) 13 inputs:
13 path: $(System.DefaultWorkingDirectory)/ccache 14 key: yuzu-v1-$(BuildName)-$(BuildSuffix)-$(CacheSuffix)
14 cacheHitVar: CACHE_RESTORED 15 path: $(System.DefaultWorkingDirectory)/ccache
16 cacheHitVar: CACHE_RESTORED
15- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/exec.sh && ./.ci/scripts/$(ScriptFolder)/exec.sh 17- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/exec.sh && ./.ci/scripts/$(ScriptFolder)/exec.sh
16 displayName: 'Build' 18 displayName: 'Build'
17- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/upload.sh && RELEASE_NAME=$(BuildName) ./.ci/scripts/$(ScriptFolder)/upload.sh 19- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/upload.sh && RELEASE_NAME=$(BuildName) ./.ci/scripts/$(ScriptFolder)/upload.sh
diff --git a/.ci/templates/build-standard.yml b/.ci/templates/build-standard.yml
index 6cd209dbf..aa180894e 100644
--- a/.ci/templates/build-standard.yml
+++ b/.ci/templates/build-standard.yml
@@ -19,4 +19,5 @@ jobs:
19 needSubmodules: 'true' 19 needSubmodules: 'true'
20 - template: ./build-single.yml 20 - template: ./build-single.yml
21 parameters: 21 parameters:
22 artifactSource: 'false' \ No newline at end of file 22 artifactSource: 'false'
23 cache: $(parameters.cache) \ No newline at end of file
diff --git a/.ci/templates/build-testing.yml b/.ci/templates/build-testing.yml
index cb7736205..f024a0058 100644
--- a/.ci/templates/build-testing.yml
+++ b/.ci/templates/build-testing.yml
@@ -30,3 +30,4 @@ jobs:
30 - template: ./build-single.yml 30 - template: ./build-single.yml
31 parameters: 31 parameters:
32 artifactSource: 'false' 32 artifactSource: 'false'
33 cache: 'false'