Add Windows CI (#595)

This commit is contained in:
Ben RUBSON 2020-03-11 19:17:47 +01:00 committed by GitHub
parent 94683a6011
commit 52a584765d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto eol=lf

View File

@ -1,5 +1,8 @@
matrix:
allow_failures:
- os: windows
include:
- language: cpp
@ -61,3 +64,14 @@ matrix:
- ./build.sh
env:
- CC=clang-4.0 CXX=clang++-4.0 CHECK=true INTEGRATION=false
- language: bash
os: windows
script:
- choco uninstall -y mingw
- choco install -y winfsp
- choco install -y cyg-get
- cyg-get.bat cmake make gcc-g++ gettext-devel libssl-devel procps-ng perl-test-harness
- export CHERE_INVOKING=1
- cmd.exe /c "/C/tools/cygwin/bin/bash.exe --login -c 'cd /cygdrive/c/Program*/WinFsp/opt/cygfuse ; sh install.sh'"
- cmd.exe /c "/C/tools/cygwin/bin/bash.exe --login -c './build.sh'"