diff options
| author | bggd <[email protected]> | 2017-10-24 21:31:37 +0900 |
|---|---|---|
| committer | bggd <[email protected]> | 2017-10-24 21:31:37 +0900 |
| commit | 8a9b6c435205b439bd7f1877c2627c965495b347 (patch) | |
| tree | ff66102ac2d82d3f4fa284b7bf545afd8c081c61 /appveyor.yml | |
| parent | 0c3ee0ba66e4e7e0be6d652236240d74304f5e54 (diff) | |
| download | mruby-8a9b6c435205b439bd7f1877c2627c965495b347.tar.gz mruby-8a9b6c435205b439bd7f1877c2627c965495b347.zip | |
Use win_bison instead of Cygwin's bison. Use YACC environment variable instead of global PATH
Diffstat (limited to 'appveyor.yml')
| -rw-r--r-- | appveyor.yml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml index c62b13573..a9464faca 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,6 +5,10 @@ os: Visual Studio 2015 clone_depth: 50 +cache: + - win_flex_bison-2.5.10.zip + + environment: matrix: # Visual Studio 2015 64bit @@ -18,10 +22,14 @@ environment: init: - call "%visualcpp%" %machine% - # For using bison.exe - - set PATH=%PATH%;C:\cygwin\bin; + + +install: + - if not exist win_flex_bison-2.5.10.zip appveyor DownloadFile "https://github.com/lexxmark/winflexbison/releases/download/v.2.5.10/win_flex_bison-2.5.10.zip" + - 7z x -y -owin_flex_bison win_flex_bison-2.5.10.zip > nul build_script: + - set YACC=.\win_flex_bison\win_bison.exe - set MRUBY_CONFIG=appveyor_config.rb - - ruby .\minirake test + - ruby .\minirake test all |
