Unverified Commit 47ea6081 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5003 from shuujii/retry-rake--m-on-AppVeyor

Retry `rake -m` on AppVeyor [skip travis]
parents d79147fe 86223b6e
......@@ -47,4 +47,5 @@ install:
build_script:
- set YACC=.\win_flex_bison\win_bison.exe
- set MRUBY_CONFIG=appveyor_config.rb
- rake -m
- rake -E $stdout.sync=true test
def setup_option(conf)
conf.compilers.each{|c| c.flags[0].delete("/Zi")}
conf.linker.flags << "/DEBUG:NONE"
end
MRuby::Build.new('full-debug') do |conf|
toolchain :visualcpp
enable_debug
......@@ -5,6 +10,7 @@ MRuby::Build.new('full-debug') do |conf|
# include all core GEMs
conf.gembox 'full-core'
conf.cc.defines += %w(MRB_GC_STRESS MRB_METHOD_CACHE MRB_ENABLE_DEBUG_HOOK)
setup_option(conf)
conf.enable_test
end
......@@ -17,6 +23,7 @@ MRuby::Build.new do |conf|
conf.compilers.each do |c|
c.defines += %w(MRB_GC_FIXED_ARENA)
end
setup_option(conf)
conf.enable_bintest
conf.enable_test
end
......@@ -28,6 +35,7 @@ MRuby::Build.new('cxx_abi') do |conf|
conf.compilers.each do |c|
c.defines += %w(MRB_GC_FIXED_ARENA)
end
setup_option(conf)
conf.enable_bintest
conf.enable_test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment