From 732e7ac33eb1bf5a3d42d20307747089d6f54fa5 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 10 Mar 2020 19:22:22 +0100 Subject: [PATCH] AppVeyor configuration for Cygwin --- .appveyor.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000000..1d271dbaaa --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,32 @@ +environment: + global: + CYG_MIRROR: http://cygwin.mirror.rafal.ca/ + CYG_CACHE: C:/cygwin/var/cache/setup + matrix: + - CYG_ARCH: x86 + CYG_ROOT: C:/cygwin + - CYG_ARCH: x86_64 + CYG_ROOT: C:/cygwin64 + +install: + - set PATH=%CYG_ROOT%/bin;%PATH% + - 'appveyor DownloadFile http://cygwin.com/setup-%CYG_ARCH%.exe -FileName setup.exe' + - 'setup.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P flex -P libreadline-devel -P libssl-devel -P libxml2-devel -P libxslt-devel -P openldap-devel -P zlib-devel' + - sh -l -c "cygserver-config --yes" + - sh -l -c "cygrunsrv -S cygserver" + +build_script: + - set HOME=. + - set PATH=%CYG_ROOT%/bin;%PATH% + - sh -l -c "./configure --enable-cassert --enable-debug --enable-nls --with-ldap --with-libxml --with-libxslt --with-openssl" + - sh -l -c "make world COPT=-Werror" + +test_script: + - set HOME=. + - set PATH=%CYG_ROOT%/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