1
0
Fork 0
forked from suyu/suyu

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.
This commit is contained in:
lat9nq 2022-07-31 21:07:46 -04:00
parent d77fe3b1c2
commit 6b58db9ccd

View file

@ -8,10 +8,10 @@ variables:
DisplayVersion: $[counter(variables['DisplayPrefix'], 1)] DisplayVersion: $[counter(variables['DisplayPrefix'], 1)]
stages: stages:
- stage: build_gcc - stage: build
displayName: 'build-gcc' displayName: 'build'
jobs: jobs:
- job: build - job: linux
timeoutInMinutes: 120 timeoutInMinutes: 120
displayName: 'linux' displayName: 'linux'
pool: pool:
@ -32,11 +32,7 @@ stages:
artifactSource: 'false' artifactSource: 'false'
cache: $(parameters.cache) cache: $(parameters.cache)
version: $(DisplayVersion) version: $(DisplayVersion)
- stage: build_msvc - job: msvc
dependsOn: []
displayName: 'build-msvc'
jobs:
- job: build
timeoutInMinutes: 120 timeoutInMinutes: 120
displayName: 'windows' displayName: 'windows'
pool: pool:
@ -53,9 +49,7 @@ stages:
version: $(DisplayVersion) version: $(DisplayVersion)
- stage: release - stage: release
displayName: 'release' displayName: 'release'
dependsOn: dependsOn: build
- build_gcc
- build_msvc
jobs: jobs:
- job: release - job: release
displayName: 'source' displayName: 'source'