From a04c2140482645a810bfd682b204bac5194eea8d Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 10 Mar 2020 19:23:46 +0100 Subject: [PATCH] AppVeyor configuration for MinGW --- .appveyor.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000000..fffa351e90 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,31 @@ +environment: + matrix: + - MSYSTEM: MINGW32 + - MSYSTEM: MINGW64 + +# https://www.postgresql.org/message-id/flat/f1caef93-9640-022e-9211-bbe8755a56b0%402ndQuadrant.com +matrix: + allow_failures: + - MSYSTEM: MINGW64 + +install: + - set PATH=C:/msys64/usr/bin;%PATH% + - sh -l -c "pacman --noconfirm -S --needed ${MINGW_PACKAGE_PREFIX}-gettext ${MINGW_PACKAGE_PREFIX}-icu ${MINGW_PACKAGE_PREFIX}-libxml2 ${MINGW_PACKAGE_PREFIX}-libxslt ${MINGW_PACKAGE_PREFIX}-openssl" + - sh -l -c "curl -L http://cpanmin.us | perl - --self-upgrade" + - sh -l -c "cpanm --notest IPC::Run" + +build_script: + - set HOME=. + - set PATH=C:/msys64/usr/bin;%PATH% + - sh -l -c "./configure --enable-cassert --enable-debug --enable-nls --enable-tap-tests --with-icu --with-ldap --with-libxml --with-libxslt --with-openssl" + - sh -l -c "make world COPT=-Werror" + +test_script: + - set HOME=. + - set PATH=C:/msys64/usr/bin;%PATH% + - sh -l -c "make check-world COPT=-Werror" + +on_failure: + - set HOME=. + - sh -l -c "test -f config.status || cat config.log" + - sh -l -c "find . -name regression.diffs | xargs cat" -- 2.25.0