From 69bd6cd4904b9c392d1c79f3049e01a3f5a1e15c Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Sat, 17 Jul 2021 18:41:11 -0400 Subject: patreon step2: Enable Linux build I sure as heck don't know what I'm doing :) patreon_step2: Fix caching :limesDance: still don't know what I'm doing :limesDance: --- .ci/yuzu-patreon-step2.yml | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) (limited to '.ci/yuzu-patreon-step2.yml') diff --git a/.ci/yuzu-patreon-step2.yml b/.ci/yuzu-patreon-step2.yml index 33c081c53..4c5ede3bc 100644 --- a/.ci/yuzu-patreon-step2.yml +++ b/.ci/yuzu-patreon-step2.yml @@ -8,12 +8,37 @@ variables: DisplayVersion: $[counter(variables['DisplayPrefix'], 1)] stages: -- stage: build - displayName: 'build' +- stage: build_gcc + displayName: 'build-gcc' jobs: - job: build timeoutInMinutes: 120 - displayName: 'windows-msvc' + displayName: 'linux' + pool: + vmImage: ubuntu-latest + strategy: + maxParallel: 10 + matrix: + linux: + BuildSuffix: 'linux' + ScriptFolder: 'linux' + steps: + - template: ./templates/sync-source.yml + parameters: + artifactSource: $(parameters.artifactSource) + needSubmodules: 'true' + - template: ./templates/build-single.yml + parameters: + artifactSource: 'false' + cache: $(parameters.cache) + version: $(DisplayVersion) +- stage: build_msvc + dependsOn: [] + displayName: 'build-msvc' + jobs: + - job: build + timeoutInMinutes: 120 + displayName: 'windows' pool: vmImage: windows-2019 steps: @@ -28,7 +53,9 @@ stages: version: $(DisplayVersion) - stage: release displayName: 'release' - dependsOn: build + dependsOn: + - build_gcc + - build_msvc jobs: - job: release displayName: 'source' -- cgit v1.2.3 From 6b58db9ccda970aada8f7d4b3d53c6e5759a6fb7 Mon Sep 17 00:00:00 2001 From: lat9nq Date: Sun, 31 Jul 2022 21:07:46 -0400 Subject: patreon step2: Use jobs to build for Windows and Linux Apparently the two stages were not building in parallel. Specify individual jobs that run MSVC and Linux building instead. --- .ci/yuzu-patreon-step2.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to '.ci/yuzu-patreon-step2.yml') diff --git a/.ci/yuzu-patreon-step2.yml b/.ci/yuzu-patreon-step2.yml index 4c5ede3bc..b4995782b 100644 --- a/.ci/yuzu-patreon-step2.yml +++ b/.ci/yuzu-patreon-step2.yml @@ -8,10 +8,10 @@ variables: DisplayVersion: $[counter(variables['DisplayPrefix'], 1)] stages: -- stage: build_gcc - displayName: 'build-gcc' +- stage: build + displayName: 'build' jobs: - - job: build + - job: linux timeoutInMinutes: 120 displayName: 'linux' pool: @@ -32,11 +32,7 @@ stages: artifactSource: 'false' cache: $(parameters.cache) version: $(DisplayVersion) -- stage: build_msvc - dependsOn: [] - displayName: 'build-msvc' - jobs: - - job: build + - job: msvc timeoutInMinutes: 120 displayName: 'windows' pool: @@ -53,9 +49,7 @@ stages: version: $(DisplayVersion) - stage: release displayName: 'release' - dependsOn: - - build_gcc - - build_msvc + dependsOn: build jobs: - job: release displayName: 'source' -- cgit v1.2.3