diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-31 02:58:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-31 02:58:55 +0300 |
commit | f6003d19efccc0d2015f509399db887d792bfad5 (patch) | |
tree | 5a7aa2ef3d612427b4fe77d109f109d70d0a5d7e | |
parent | fec78ac900de7f61b7f08d14ffb526715e7942b0 (diff) | |
download | manaverse-f6003d19efccc0d2015f509399db887d792bfad5.tar.gz manaverse-f6003d19efccc0d2015f509399db887d792bfad5.tar.bz2 manaverse-f6003d19efccc0d2015f509399db887d792bfad5.tar.xz manaverse-f6003d19efccc0d2015f509399db887d792bfad5.zip |
Add into .gitlab-ci.yml tests compilation with mingw.
-rw-r--r-- | .gitlab-ci.yml | 38 | ||||
-rwxr-xr-x | tools/ci/jobs/mxe_gcc5_tests.sh | 17 |
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 |