Use Azure Pipelines dependsOn to stage the jobs

This commit is contained in:
gnzlbg 2019-07-10 15:23:39 +02:00
parent 9f153e971a
commit 2f25959d05

View File

@ -10,7 +10,22 @@ trigger: ["master"]
pr: ["master"]
jobs:
- job: DockerLinux
- job: DockerLinuxTier1
pool:
vmImage: ubuntu-16.04
steps:
- template: ci/azure-install-rust.yml
- bash: sh ./ci/run-docker.sh $TARGET
displayName: Execute run-docker.sh
strategy:
matrix:
i686-unknown-linux-gnu:
TARGET: i686-unknown-linux-gnu
x86_64-unknown-linux-gnu:
TARGET: x86_64-unknown-linux-gnu
- job: DockerLinuxTier2
dependsOn: DockerLinuxTier1
pool:
vmImage: ubuntu-16.04
steps:
@ -35,8 +50,6 @@ jobs:
TARGET: asmjs-unknown-emscripten
i686-linux-android:
TARGET: i686-linux-android
i686-unknown-linux-gnu:
TARGET: i686-unknown-linux-gnu
i686-unknown-linux-musl:
TARGET: i686-unknown-linux-musl
mips-unknown-linux-gnu:
@ -65,8 +78,6 @@ jobs:
TARGET: wasm32-unknown-emscripten
x86_64-linux-android:
TARGET: x86_64-linux-android
x86_64-unknown-linux-gnu:
TARGET: x86_64-unknown-linux-gnu
x86_64-unknown-linux-gnux32:
TARGET: x86_64-unknown-linux-gnux32
x86_64-unknown-linux-musl:
@ -132,6 +143,7 @@ jobs:
deploy_dir: target/doc
#- job: SemverLinux
# dependsOn: BuildChannelsLinux
# continueOnError: true
# pool:
# vmImage: ubuntu-16.04
@ -141,6 +153,7 @@ jobs:
# displayName: Check breaking changes
#- job: SemverOSX
# dependsOn: BuildChannelsOSX
# continueOnError: true
# pool:
# vmImage: macos-10.14
@ -150,6 +163,7 @@ jobs:
# displayName: Check breaking changes
- job: BuildChannelsLinux
dependsOn: StyleAndDocs
pool:
vmImage: ubuntu-16.04
steps:
@ -178,6 +192,7 @@ jobs:
OS: linux
- job: BuildChannelsOSX
dependsOn: StyleAndDocs
pool:
vmImage: macos-10.13
steps: