forked from pgbouncer/pgbouncer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
35 lines (29 loc) · 1.01 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
image: Visual Studio 2019
environment:
matrix:
- MSYSTEM: MINGW32
- MSYSTEM: MINGW64
install:
- git submodule update --init --recursive
- set PATH=C:/msys64/usr/bin;%PATH%
- sh -l -c "pacman --noconfirm -S --needed base-devel ${MINGW_PACKAGE_PREFIX}-toolchain ${MINGW_PACKAGE_PREFIX}-libevent ${MINGW_PACKAGE_PREFIX}-openssl ${MINGW_PACKAGE_PREFIX}-postgresql autoconf automake libtool python zip"
- choco install pandoc
build_script:
- set HOME=.
- set PATH=C:/msys64/usr/bin;%PATH%
- sh -l -c "./autogen.sh"
- sh -l -c "./configure --enable-werror LDFLAGS=-static LIBS=-liphlpapi PKG_CONFIG='pkg-config --static'"
- sh -l -c "make"
- sh -l -c "make install"
- sh -l -c "make zip"
artifacts:
- path: '*.zip'
test_script:
- set HOME=.
- set PATH=C:/msys64/usr/bin;%PATH%
- sh -l -c "make check tls_support=no"
- sh -l -c "windres pgbouncer.exe"
on_failure:
- set HOME=.
- sh -l -c "test -f config.status || cat config.log"
- sh -l -c "find test/ -name '*.log' | xargs tail -n40 -v"