From da3eb22cb8831553ab3ca7d8bb3249bf67b2ec47 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 11 Sep 2018 02:39:29 +0000 Subject: Add azure pipeline for build and run windows tests. --- tools/ci/scripts/docker_run_cross.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tools/ci/scripts/docker_run_cross.sh (limited to 'tools/ci/scripts/docker_run_cross.sh') diff --git a/tools/ci/scripts/docker_run_cross.sh b/tools/ci/scripts/docker_run_cross.sh new file mode 100755 index 000000000..e07df0cf4 --- /dev/null +++ b/tools/ci/scripts/docker_run_cross.sh @@ -0,0 +1,17 @@ +#!/bin/bash -x + +echo "IMAGE: ${IMAGE}" +echo "PACKAGES: ${PACKAGES}" +echo "CROSS: ${CROSS}" +echo "COMMAND: ${COMMAND}" +echo "JOBS: ${JOBS}" + +docker pull ${IMAGE} +docker run \ + --volume=$(pwd):/build:rw \ + -e PACKAGES="${PACKAGES}" \ + -e COMMAND="${COMMAND}" \ + -e JOBS="${JOBS}" \ + -e CROSS="${CROSS}" \ + ${IMAGE} \ + /bin/sh -x -c "cd /build; pwd; ./tools/ci/scripts/docker_incontainer.sh" -- cgit v1.2.3-70-g09d2