diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-03-16 12:48:14 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-03-16 13:37:52 +0900 |
| commit | 1809fb755a3bef34c18fe459d05e235b12fa1d5c (patch) | |
| tree | 21ee70993c97027aea4376549b46fa68753ae8ab | |
| parent | e9b1f14cdc03519e4105ee9eaaf43ca4689cea5c (diff) | |
| download | mruby-1809fb755a3bef34c18fe459d05e235b12fa1d5c.tar.gz mruby-1809fb755a3bef34c18fe459d05e235b12fa1d5c.zip | |
Refine `appveyor.yml`
- Add Visual Studio 2017.
- Enable `shallow_clone` for saving build time.
- Cache extracted WinFlexBison.
| -rw-r--r-- | appveyor.yml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/appveyor.yml b/appveyor.yml index b4514ec27..74cc6febb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,16 +1,19 @@ version: "{build}" -os: Visual Studio 2015 +os: Visual Studio 2017 -clone_depth: 50 +shallow_clone: true cache: - - win_flex_bison-2.5.10.zip + - win_flex_bison environment: matrix: + # Visual Studio 2017 64bit + - visualcpp: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat + # Visual Studio 2015 64bit - visualcpp: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat machine: amd64 @@ -28,11 +31,12 @@ init: 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 - + - if not exist win_flex_bison ( + 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 + ) build_script: - set YACC=.\win_flex_bison\win_bison.exe - set MRUBY_CONFIG=appveyor_config.rb - - ruby .\minirake test all + - ruby .\minirake test |
