3 CYG_MIRROR: http://cygwin.mirror.constant.com
8 CYG_SETUP: C:\cygwin\setup-x86.exe
11 CYG_SETUP: C:\cygwin64\setup-x86_64.exe
17 - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
18 # do not convert new lines to CRLF
19 - git config --global core.autocrlf input
20 # print processor and OS architecture
21 - wmic computersystem get systemtype
22 - wmic OS get OSArchitecture
25 - '%APPVEYOR_BUILD_FOLDER%\dependency\sources'
26 - '%CYG_ROOT%\var\cache\setup'
29 - '%CYG_SETUP% --quiet-mode --no-shortcuts --packages patch,lua,lua-devel,lua-lpeg,libncurses-devel'
30 - '%CYG_ROOT%\bin\cygcheck --check-setup --dump-only'
34 $bash = $env:CYG_ROOT + "\bin\bash"
35 $cmd = "cd `$APPVEYOR_BUILD_FOLDER && "
38 for f in $(git ls-files -s | awk '$1 == 120000 {print $4}')
40 # echo $f is a symlink pointing to $dir/$target
42 pushd "$dir" 2>&1 > /dev/null
46 ln -s "$target" "$file"
53 - '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make local && file vis"'
56 - '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make test"'
59 - 7z a -y vis-%CYG_ARCH%.zip *.exe lua
62 - path: vis-%CYG_ARCH%.zip