summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml38
-rwxr-xr-xtools/ci/jobs/mxe_gcc5_tests.sh17
2 files changed, 55 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6f6c30476..875e72423 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -140,6 +140,44 @@ mxe_gcc5_shared_64:
tags:
- docker
+mxe_gcc5_shared_32_testsbin:
+ stage: prebuild
+ script:
+ - ls /mxe
+ - ./tools/ci/jobs/mxe_gcc5_tests.sh --without-manaplusgame --without-dyecmd
+ artifacts:
+ paths:
+ - logs
+ untracked: true
+ when: always
+ expire_in: 1 week
+ dependencies: []
+ image: registry.gitlab.com/manaplus/mxe:gcc5_shared_32
+ variables:
+ PACKAGES: bash
+ CROSS: i686-w64-mingw32.shared
+ tags:
+ - docker
+
+mxe_gcc5_shared_64_testsbin:
+ stage: prebuild
+ script:
+ - ls /mxe
+ - ./tools/ci/jobs/mxe_gcc5_tests.sh --without-manaplusgame --without-dyecmd
+ artifacts:
+ paths:
+ - logs
+ untracked: true
+ when: always
+ expire_in: 1 week
+ dependencies: []
+ image: registry.gitlab.com/manaplus/mxe:gcc5_shared_64
+ variables:
+ PACKAGES: bash
+ CROSS: x86_64-w64-mingw32.shared
+ tags:
+ - docker
+
gcc-5_sdl2:
stage: prebuild
script:
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