This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU libtasn1".
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=7137505268189e9ab9a50b014028edfdaaef11da The branch, master has been updated via 7137505268189e9ab9a50b014028edfdaaef11da (commit) via 59e700b4eaf214d4f0e903c93e5483f4a3bfd2e7 (commit) via fcd1ba098091fac79cae9e22b3465354e4790746 (commit) from f4fb1559c454282efb6df5313af7bc56afbe5bd0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 7137505268189e9ab9a50b014028edfdaaef11da Author: Nikos Mavrogiannopoulos <n...@redhat.com> Date: Tue Sep 27 10:54:55 2016 +0200 .gitlab-ci.yml: added mingw32 build commit 59e700b4eaf214d4f0e903c93e5483f4a3bfd2e7 Author: Nikos Mavrogiannopoulos <n...@redhat.com> Date: Tue Sep 27 11:40:03 2016 +0200 Makefile.am: only build examples if documentation is also built ----------------------------------------------------------------------- Summary of changes: .gitlab-ci.yml | 21 +++++++++++++++++++++ Makefile.am | 4 ++-- tests/Test_choice_ocsp.c | 2 +- tests/ocsp-basic-response.c | 2 +- 4 files changed, 25 insertions(+), 4 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 + diff --git a/Makefile.am b/Makefile.am index a31301c..120c6d8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,10 +26,10 @@ EXTRA_DIST = windows/asn1-parser/asn1-parser.vcproj \ windows/test-parser/test-parser.vcproj \ windows/test-tree/test-tree.vcproj windows/libtasn14win.mk -SUBDIRS = gl lib src examples tests +SUBDIRS = gl lib src tests if ENABLE_DOC -SUBDIRS += doc +SUBDIRS += doc examples endif ACLOCAL_AMFLAGS = -I m4 -I gl/m4 -I lib/glm4 diff --git a/tests/Test_choice_ocsp.c b/tests/Test_choice_ocsp.c index d4183b6..33c17fc 100644 --- a/tests/Test_choice_ocsp.c +++ b/tests/Test_choice_ocsp.c @@ -37,7 +37,7 @@ main (int argc, char** argv) exit (1); } - fp = fopen(datafile, "r"); + fp = fopen(datafile, "rb"); if (fp == NULL) { printf ("error in %d\n", __LINE__); diff --git a/tests/ocsp-basic-response.c b/tests/ocsp-basic-response.c index 701ed53..54b50ae 100644 --- a/tests/ocsp-basic-response.c +++ b/tests/ocsp-basic-response.c @@ -36,7 +36,7 @@ main (int argc, char** argv) exit (1); } - fp = fopen(datafile, "r"); + fp = fopen(datafile, "rb"); if (fp == NULL) { fprintf (stderr, "error in %d\n", __LINE__); hooks/post-receive -- GNU libtasn1