Skip to content

Commit

Permalink
Create appveyor_config.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
bggd committed Mar 15, 2016
1 parent 87e5b0f commit 51cb729
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions appveyor_config.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
MRuby::Build.new('debug') do |conf|
toolchain :visualcpp
enable_debug

# include all core GEMs
conf.gembox 'full-core'
conf.compilers.each do |c|
c.defines += %w(MRB_GC_STRESS MRB_GC_FIXED_ARENA)
end

build_mrbc_exec
end

MRuby::Build.new('full-debug') do |conf|
toolchain :visualcpp
enable_debug

# include all core GEMs
conf.gembox 'full-core'
conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK)

conf.enable_test
end

MRuby::Build.new do |conf|
toolchain :visualcpp

# include all core GEMs
conf.gembox 'full-core'
conf.compilers.each do |c|
c.defines += %w(MRB_GC_FIXED_ARENA)
end
conf.enable_bintest
conf.enable_test
end

MRuby::Build.new('cxx_abi') do |conf|
toolchain :visualcpp

conf.gembox 'full-core'
conf.compilers.each do |c|
c.defines += %w(MRB_GC_FIXED_ARENA)
end
conf.enable_bintest
conf.enable_test

enable_cxx_abi

build_mrbc_exec
end

0 comments on commit 51cb729

Please sign in to comment.