summaryrefslogtreecommitdiff
path: root/tools/ci/jobs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-31 02:58:55 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-31 02:58:55 +0300
commitf6003d19efccc0d2015f509399db887d792bfad5 (patch)
tree5a7aa2ef3d612427b4fe77d109f109d70d0a5d7e /tools/ci/jobs
parentfec78ac900de7f61b7f08d14ffb526715e7942b0 (diff)
downloadmv-f6003d19efccc0d2015f509399db887d792bfad5.tar.gz
mv-f6003d19efccc0d2015f509399db887d792bfad5.tar.bz2
mv-f6003d19efccc0d2015f509399db887d792bfad5.tar.xz
mv-f6003d19efccc0d2015f509399db887d792bfad5.zip
Add into .gitlab-ci.yml tests compilation with mingw.
Diffstat (limited to 'tools/ci/jobs')
-rwxr-xr-xtools/ci/jobs/mxe_gcc5_tests.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/ci/jobs/mxe_gcc5_tests.sh b/tools/ci/jobs/mxe_gcc5_tests.sh
new file mode 100755
index 000000000..364b2858f
--- /dev/null
+++ b/tools/ci/jobs/mxe_gcc5_tests.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+export LOGFILE=mxe_gcc5.log
+
+source ./tools/ci/scripts/winvars.sh || exit 1
+
+$CC --version
+$CXX --version
+
+autoreconf -i || exit 1
+
+./configure \
+--host=${CROSS} \
+--enable-unittestsbin \
+$* || (cp config.log logs || exit 1)
+
+make -j2 V=0