diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2019-05-20 12:39:25 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2019-05-20 12:43:29 -0700 |
| commit | 804ec5faab1bbe487b42fbd4147d9c8f4c1352b1 (patch) | |
| tree | fa71bddfa40d9fbb4a7863a43e31a53c956c0e05 | |
| parent | 7b266ff1812cc1576bcd61906c592c2e7b5642d4 (diff) | |
| download | rust-804ec5faab1bbe487b42fbd4147d9c8f4c1352b1.tar.gz rust-804ec5faab1bbe487b42fbd4147d9c8f4c1352b1.zip | |
Execute `docker/run.sh` on Linux
| -rw-r--r-- | .azure-pipelines/steps/run.yml | 8 |
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 |
