From a5cb9887b0a870027ee17e0ab615824c638e4edf Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Tue, 2 Jan 2018 13:06:06 +0100 Subject: [PATCH] Try adding vcpkg bin/ to the PATH --- appveyor.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index f472842..27e750a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,17 +4,19 @@ image: Visual Studio 2017 version: "{build}" install: - # Binary taken from http://w858rkbfg.homepage.t-online.de/index.php/software/ragel-windows/, - # rehosted on AWS so it doesn't randomly vanish. - - vcpkg install ragel + - if "%platform%"=="Win32" set VCPKG_ARCH=x86-windows + - if "%platform%"=="x64" set VCPKG_ARCH=x64-windows + - vcpkg install ragel:%VCPKG_ARCH% + - SET PATH=C:\tools\vcpkg\installed\%VCPKG_ARCH%\bin;%PATH% - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - bundle install --retry 3 -cache: C:\tools\vcpkg\installed\ +cache: C:\tools\vcpkg\installed build: off before_test: + - ragel --version - ruby --version - gem --version - bundle --version