summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-27 10:54:55 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-27 10:54:55 +0200
commit2a7fcde5a8c35df775817dbb9d2a235b4017ad5f (patch)
tree42fd4c5653aaf63843f42c884a1d366717d3cabb
parentfcd1ba098091fac79cae9e22b3465354e4790746 (diff)
downloadlibtasn1-2a7fcde5a8c35df775817dbb9d2a235b4017ad5f.tar.gz
.gitlab-ci.yml: added mingw32 build
-rw-r--r--.gitlab-ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2133f00..80a678e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,3 +45,24 @@ Build and Check with ubsan:
- shared
except:
- tags
+MinGW32:
+ script:
+ image: fedora:24
+ - dnf install -y wine.i686 mingw32-gcc util-linux
+ - mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
+ - echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
+ - make autoreconf && rm -f tests/suite/mini-eagain2.c && mkdir -p build && cd build &&
+ mingw32-configure --disable-doc --disable-valgrind-tests &&
+ mingw32-make -j$(nproc) && mingw32-make -C tests check -j$(nproc)
+ tags:
+ - shared
+ except:
+ - tags
+ artifacts:
+ expire_in: 1 week
+ when: on_failure
+ paths:
+ - build/*.log
+ - build/tests/*.log
+ - build/tests/*/*.log
+