From a9823cbfd530b7278242c60fd25ba89509f2e3fa Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 6 Sep 2017 19:47:11 +0100 Subject: Try to download and unpack a Vim console binary for AppVeyor --- .appveyor.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 51b4f277..3129ef8c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,20 +1,18 @@ --- -install: +clone_depth: 10 + +init: # Stop git from changing newlines - git config --global core.autocrlf input - # Set up the build environment - - '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" - /x64 /release' - # Build Vim - - cd C:\ - - git clone https://github.com/vim/vim - - cd vim - - git checkout v8.0.0027 - - cd src - - 'nmake -f Make_mvc.mak CPU=AMD64 OLE=no GUI=no IME=yes MBYTE=yes - ICONV=yes DEBUG=no FEATURES=NORMAL' -clone_depth: 10 +install: + # Download and unpack Vim + - cd C:\ + - ps: 'Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586w32.zip + -OutFile C:\vim.zip' + - ps: Add-Type -A System.IO.Compression.FileSystem + - ps: "[IO.Compression.ZipFile]::ExtractToDirectory('vim.zip', 'vim')" test_script: + - C:\vim\vim80\vim.exe --version - echo hello world -- cgit v1.2.3