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: ...@@ -47,4 +47,5 @@ install:
build_script: build_script:
- set YACC=.\win_flex_bison\win_bison.exe - set YACC=.\win_flex_bison\win_bison.exe
- set MRUBY_CONFIG=appveyor_config.rb - set MRUBY_CONFIG=appveyor_config.rb
- rake -m
- rake -E $stdout.sync=true test - 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| MRuby::Build.new('full-debug') do |conf|
toolchain :visualcpp toolchain :visualcpp
enable_debug enable_debug
...@@ -5,6 +10,7 @@ MRuby::Build.new('full-debug') do |conf| ...@@ -5,6 +10,7 @@ MRuby::Build.new('full-debug') do |conf|
# include all core GEMs # include all core GEMs
conf.gembox 'full-core' conf.gembox 'full-core'
conf.cc.defines += %w(MRB_GC_STRESS MRB_METHOD_CACHE MRB_ENABLE_DEBUG_HOOK) conf.cc.defines += %w(MRB_GC_STRESS MRB_METHOD_CACHE MRB_ENABLE_DEBUG_HOOK)
setup_option(conf)
conf.enable_test conf.enable_test
end end
...@@ -17,6 +23,7 @@ MRuby::Build.new do |conf| ...@@ -17,6 +23,7 @@ MRuby::Build.new do |conf|
conf.compilers.each do |c| conf.compilers.each do |c|
c.defines += %w(MRB_GC_FIXED_ARENA) c.defines += %w(MRB_GC_FIXED_ARENA)
end end
setup_option(conf)
conf.enable_bintest conf.enable_bintest
conf.enable_test conf.enable_test
end end
...@@ -28,6 +35,7 @@ MRuby::Build.new('cxx_abi') do |conf| ...@@ -28,6 +35,7 @@ MRuby::Build.new('cxx_abi') do |conf|
conf.compilers.each do |c| conf.compilers.each do |c|
c.defines += %w(MRB_GC_FIXED_ARENA) c.defines += %w(MRB_GC_FIXED_ARENA)
end end
setup_option(conf)
conf.enable_bintest conf.enable_bintest
conf.enable_test 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