summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/azure/mxetest.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-11 02:39:29 +0000
committerAndrei Karas <akaras@inbox.ru>2018-09-20 00:29:05 +0300
commitda3eb22cb8831553ab3ca7d8bb3249bf67b2ec47 (patch)
tree9ac65c59f2cd6e82a82db194b75429d6b00ea310 /tools/ci/scripts/azure/mxetest.sh
parent85ec852201fa91664a2345cb76aa2a4fadc2ba3a (diff)
downloadmanaplus-da3eb22cb8831553ab3ca7d8bb3249bf67b2ec47.tar.gz
manaplus-da3eb22cb8831553ab3ca7d8bb3249bf67b2ec47.tar.bz2
manaplus-da3eb22cb8831553ab3ca7d8bb3249bf67b2ec47.tar.xz
manaplus-da3eb22cb8831553ab3ca7d8bb3249bf67b2ec47.zip
Add azure pipeline for build and run windows tests.
Diffstat (limited to 'tools/ci/scripts/azure/mxetest.sh')
-rwxr-xr-xtools/ci/scripts/azure/mxetest.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/ci/scripts/azure/mxetest.sh b/tools/ci/scripts/azure/mxetest.sh
new file mode 100755
index 000000000..1f5e97217
--- /dev/null
+++ b/tools/ci/scripts/azure/mxetest.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+echo docker login registry.gitlab.com
+docker login registry.gitlab.com
+
+export IMAGE="registry.gitlab.com/manaplus/mxe:gcc6_shared_${BITS}"
+export COMMAND="./tools/ci/jobs/mxe_gcc6_tests.sh --without-manaplusgame --without-dyecmd"
+export PACKAGES="bash"
+./tools/ci/scripts/docker_run_cross.sh || exit 1
+mkdir dlls || true
+export COMMAND="./tools/ci/scripts/copymxedlls.sh dlls"
+ls -la dlls
+echo copy dlls from docker
+./tools/ci/scripts/docker_run_cross.sh || exit 1