summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-31 03:01:56 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-31 03:01:56 +0300
commit024bdff674c30e559c03767c383349b340b5a9c6 (patch)
tree01609a5d4f59759d383dacff5ac403ce88c0fe57
parentf6003d19efccc0d2015f509399db887d792bfad5 (diff)
downloadmanaplus-024bdff674c30e559c03767c383349b340b5a9c6.tar.gz
manaplus-024bdff674c30e559c03767c383349b340b5a9c6.tar.bz2
manaplus-024bdff674c30e559c03767c383349b340b5a9c6.tar.xz
manaplus-024bdff674c30e559c03767c383349b340b5a9c6.zip
Add into .gitlab-ci.yml running already precompiled tests on windows.
This jobs is manual, because not always windows runner can be present.
-rw-r--r--.gitlab-ci.yml31
-rw-r--r--tools/ci/jobs/windowstest.cmd8
2 files changed, 39 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 875e72423..08a35ea56 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4480,6 +4480,37 @@ gitstats:
only:
- master
+mxe_gcc5_shared_32_tests:
+ stage: build
+ script:
+ - tools\ci\jobs\windowstest.cmd files32
+ - dir
+ artifacts:
+ paths:
+ - logs
+ when: always
+ expire_in: 3 week
+ dependencies:
+ - mxe_gcc5_shared_32_testsbin
+ when: manual
+ tags:
+ - windows
+
+mxe_gcc5_shared_64_tests:
+ stage: build
+ script:
+ - tools\ci\jobs\windowstest.cmd files64
+ artifacts:
+ paths:
+ - logs
+ when: always
+ expire_in: 3 week
+ dependencies:
+ - mxe_gcc5_shared_64_testsbin
+ when: manual
+ tags:
+ - windows
+
# stats
pages:
diff --git a/tools/ci/jobs/windowstest.cmd b/tools/ci/jobs/windowstest.cmd
new file mode 100644
index 000000000..5fcd9099c
--- /dev/null
+++ b/tools/ci/jobs/windowstest.cmd
@@ -0,0 +1,8 @@
+mkdir test
+cd test
+mkdir %1
+xcopy /s C:\gitlabrunner\%1 %1
+cd %1
+copy ..\..\src\manaplustests.exe .\
+dir
+manaplustests.exe