Merge pull request #3833 from bggd/appveyor_winbison_ruby24

Appveyor Improvements
This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-10-25 00:31:44 +09:00
committed by GitHub
2 changed files with 15 additions and 4 deletions
+14 -3
View File
@@ -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,17 @@ environment:
init:
- call "%visualcpp%" %machine%
# For using bison.exe
- set PATH=%PATH%;C:\cygwin\bin;
# For using Rubyinstaller's Ruby 2.4 64bit
- set PATH=C:\Ruby24-x64\bin;%PATH%
- ruby --version
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
+1 -1
View File
@@ -5,7 +5,7 @@ MRuby::Build.new('debug') do |conf|
# include all core GEMs
conf.gembox 'full-core'
conf.compilers.each do |c|
c.defines += %w(MRB_GC_STRESS MRB_GC_FIXED_ARENA)
c.defines += %w(MRB_GC_STRESS MRB_GC_FIXED_ARENA MRB_METHOD_CACHE)
end
build_mrbc_exec