aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Zissimopoulos <billziss@navimatics.com>2018-08-01 10:59:30 -0700
committerNikolaus Rath <Nikolaus@rath.org>2018-08-11 10:33:42 +0100
commitd0c5fa3ed6cf7b17b581bd15c12fa658e75636fc (patch)
tree8b2efd38dee6ac06648b79541abfa105950bd018
parenteac420791c667b038817aaa481c67646e9654e15 (diff)
downloadsshfs-d0c5fa3ed6cf7b17b581bd15c12fa658e75636fc.tar
sshfs-d0c5fa3ed6cf7b17b581bd15c12fa658e75636fc.tar.gz
sshfs-d0c5fa3ed6cf7b17b581bd15c12fa658e75636fc.tar.bz2
sshfs-d0c5fa3ed6cf7b17b581bd15c12fa658e75636fc.zip
Add AppVeyor CI for Cygwin
-rw-r--r--.appveyor.yml19
-rwxr-xr-xtest/appveyor-build.sh7
2 files changed, 26 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..4d6509b
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,19 @@
+version: '{build}'
+
+install:
+
+# install WinFsp
+- appveyor DownloadFile https://github.com/billziss-gh/winfsp/releases/download/v1.4B2/winfsp-1.4.18211.msi
+- for %%f in ("winfsp-*.msi") do start /wait msiexec /i %%f /qn INSTALLLEVEL=1000
+
+# install FUSE for Cygwin (64-bit and 32-bit)
+- C:\cygwin64\bin\env.exe -i PATH=/bin bash "%ProgramFiles(x86)%\WinFsp\opt\cygfuse\install.sh"
+- C:\cygwin\bin\env.exe -i PATH=/bin bash "%ProgramFiles(x86)%\WinFsp\opt\cygfuse\install.sh"
+
+# install additional Cygwin packages (64-bit and 32-bit)
+- C:\cygwin64\setup-x86_64.exe -qnNdO -R C:\cygwin64 -s http://cygwin.mirror.constant.com -l C:\cygwin64\var\cache\setup -P libglib2.0-devel -P meson
+- C:\cygwin\setup-x86.exe -qnNdO -R C:\cygwin -s http://cygwin.mirror.constant.com -l C:\cygwin\var\cache\setup -P libglib2.0-devel -P meson
+
+build_script:
+- C:\cygwin64\bin\env.exe -i PATH=/bin bash test\appveyor-build.sh
+- C:\cygwin\bin\env.exe -i PATH=/bin bash test\appveyor-build.sh
diff --git a/test/appveyor-build.sh b/test/appveyor-build.sh
new file mode 100755
index 0000000..31be8bb
--- /dev/null
+++ b/test/appveyor-build.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+machine=$(uname -m)
+mkdir build-$machine
+cd build-$machine
+meson ..
+ninja