]> granicus.if.org Git - pgbouncer/commitdiff
Add AppVeyor configuration for Windows
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 5 Aug 2019 19:48:00 +0000 (21:48 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 5 Aug 2019 19:48:00 +0000 (21:48 +0200)
appveyor.yml [new file with mode: 0644]

diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644 (file)
index 0000000..3526eea
--- /dev/null
@@ -0,0 +1,17 @@
+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 python"
+
+build_script:
+  - set HOME=.
+  - set PATH=C:/msys64/usr/bin;%PATH%
+  - sh -l -c "./autogen.sh"
+  - sh -l -c "./configure PANDOC=true || { cat config.log; exit 1; }"
+  - sh -l -c "make"
+#TODO:  - sh -l -c "make install"