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 11:55:29 +0200
commit7137505268189e9ab9a50b014028edfdaaef11da (patch)
tree8c164459d16fa3c2889b169df462e21236aeeffc
parent59e700b4eaf214d4f0e903c93e5483f4a3bfd2e7 (diff)
downloadlibtasn1-7137505268189e9ab9a50b014028edfdaaef11da.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..04e0933 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,3 +45,24 @@ Build and Check with ubsan:
- shared
except:
- tags
+MinGW32:
+ image: fedora:24
+ script:
+ - 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
+