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
3ce66aaabf
commit
86693e2e9d
1 changed files with 5 additions and 11 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue