summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-07-10 15:23:39 +0200
committergnzlbg <gonzalobg88@gmail.com>2019-07-27 13:25:22 +0200
commit2f25959d05e50fb4a8a0c55305d7024aa473b52c (patch)
tree9710ab10455d3fa6ad61ab1f423d5586249dcaa9
parent9f153e971a57834c5f0ea4d9c6772d1041483169 (diff)
downloadrust-libc-2f25959d05e50fb4a8a0c55305d7024aa473b52c.tar.gz
Use Azure Pipelines dependsOn to stage the jobs
-rw-r--r--azure-pipelines.yml25
1 files changed, 20 insertions, 5 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 0e7803d9e5..39fd377be0 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -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: