diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-11 02:39:29 +0000 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-09-20 00:29:05 +0300 |
commit | da3eb22cb8831553ab3ca7d8bb3249bf67b2ec47 (patch) | |
tree | 9ac65c59f2cd6e82a82db194b75429d6b00ea310 /tools/ci/scripts/docker_run_cross.sh | |
parent | 85ec852201fa91664a2345cb76aa2a4fadc2ba3a (diff) | |
download | manaverse-da3eb22cb8831553ab3ca7d8bb3249bf67b2ec47.tar.gz manaverse-da3eb22cb8831553ab3ca7d8bb3249bf67b2ec47.tar.bz2 manaverse-da3eb22cb8831553ab3ca7d8bb3249bf67b2ec47.tar.xz manaverse-da3eb22cb8831553ab3ca7d8bb3249bf67b2ec47.zip |
Add azure pipeline for build and run windows tests.
Diffstat (limited to 'tools/ci/scripts/docker_run_cross.sh')
-rwxr-xr-x | tools/ci/scripts/docker_run_cross.sh | 17 |
1 files changed, 17 insertions, 0 deletions
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" |