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:
parent
d77fe3b1c2
commit
6b58db9ccd
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue