From b92f6e1f49a78786e7fb3bbcd73f905590ef150c Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 16 Oct 2018 12:47:01 +0200 Subject: [PATCH] appveyor: install make --- appveyor.yml | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 616a0bac5..c1d1b9ad9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,5 @@ # appveyor.yml reference : http://www.appveyor.com/docs/appveyor-yml +# and https://github.com/unicorn-engine/unicorn/blob/master/.appveyor.yml version: "{build}" @@ -12,20 +13,36 @@ os: Windows Server 2012 R2 environment: GOPATH: c:\gopath + CYG_MIRROR: http://cygwin.mirror.constant.com + CYG_PACKAGES: make + matrix: + - CYG_ROOT: C:\cygwin64 + CYG_CACHE: C:\cygwin64\var\cache\setup + CYG_SETUP: setup-x86_64.exe + BASH: C:\cygwin64\bin\bash + - CYG_ROOT: C:\cygwin + CYG_CACHE: C:\cygwin\var\cache\setup + CYG_SETUP: setup-x86.exe + BASH: C:\cygwin\bin\bash + +# Cache Cygwin files to speed up build +cache: + - '%CYG_CACHE%' clone_folder: c:\gopath\src\github.com\hashicorp\packer install: - - set GO15VENDOREXPERIMENT=1 + - ps: if (Test-Path Env:\CYG_ROOT) { Start-FileDownload "https://cygwin.com/$env:CYG_SETUP" -FileName "$env:CYG_SETUP" } + - %CYG_SETUP% --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages "%CYG_PACKAGES%" --upgrade-also - echo %Path% - go version - go env - - make deps build_script: - git rev-parse HEAD - - ps: make ci + - make deps -test: off +test_script: + - make ci deploy: off