From 804ec5faab1bbe487b42fbd4147d9c8f4c1352b1 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 20 May 2019 12:39:25 -0700 Subject: [PATCH] Execute `docker/run.sh` on Linux --- .azure-pipelines/steps/run.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/steps/run.yml b/.azure-pipelines/steps/run.yml index 4e7889a1d22c..a0d92cc4d4e8 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