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)]
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'