Try using vcpkg for installing Ragel

This commit is contained in:
Yorick Peterse 2018-01-02 12:43:31 +01:00
parent 84748a8d85
commit 5d693134d7
No known key found for this signature in database
GPG Key ID: EDD30D2BEB691AC9
1 changed files with 5 additions and 3 deletions

View File

@ -1,15 +1,17 @@
---
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.
- appveyor DownloadFile http://downloads.yorickpeterse.com/files/ragel-68-visualstudio2012.7z -FileName C:\ragel.7z
- 7z e C:\ragel.7z -oC:\ragel -y > nul
- vcpkg install ragel
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- SET PATH=C:\ragel;%PATH%
- bundle install --retry 3
cache: C:\tools\vcpkg\installed\
build: off
before_test: