about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-05-20 12:39:25 -0700
committerAlex Crichton <alex@alexcrichton.com>2019-05-20 12:43:29 -0700
commit804ec5faab1bbe487b42fbd4147d9c8f4c1352b1 (patch)
treefa71bddfa40d9fbb4a7863a43e31a53c956c0e05
parent7b266ff1812cc1576bcd61906c592c2e7b5642d4 (diff)
downloadrust-804ec5faab1bbe487b42fbd4147d9c8f4c1352b1.tar.gz
rust-804ec5faab1bbe487b42fbd4147d9c8f4c1352b1.zip
Execute `docker/run.sh` on Linux
-rw-r--r--.azure-pipelines/steps/run.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.azure-pipelines/steps/run.yml b/.azure-pipelines/steps/run.yml
index 4e7889a1d22..a0d92cc4d4e 100644
--- a/.azure-pipelines/steps/run.yml
+++ b/.azure-pipelines/steps/run.yml
@@ -67,7 +67,13 @@ steps:
   condition: and(succeeded(), eq(variables['IMAGE'], 'mingw-check'))
   displayName: Verify the publish_toolstate script works
 
-- script: sh src/ci/run.sh
+- bash: |
+    set -e
+    if [ "$IMAGE" = ""]; then
+      src/ci/run.sh
+    else
+      src/ci/docker/run.sh $IMAGE
+    fi
   timeoutInMinutes: 180
   env:
     CI: true