source: EcnlProtoTool/trunk/mruby-2.1.1/travis_config.rb@ 439

Last change on this file since 439 was 439, checked in by coas-nagasima, 4 years ago

mrubyを2.1.1に更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-ruby;charset=UTF-8
File size: 840 bytes
Line 
1MRuby::Build.new('full-debug') do |conf|
2 toolchain :gcc
3 enable_debug
4
5 # include all core GEMs
6 conf.gembox 'full-core'
7 conf.cc.flags += %w(-Werror=declaration-after-statement)
8 conf.cc.defines += %w(MRB_GC_STRESS MRB_METHOD_CACHE MRB_ENABLE_DEBUG_HOOK)
9
10 conf.enable_test
11end
12
13MRuby::Build.new do |conf|
14 toolchain :gcc
15
16 # include all core GEMs
17 conf.gembox 'full-core'
18 conf.cc.flags += %w(-Werror=declaration-after-statement)
19 conf.compilers.each do |c|
20 c.defines += %w(MRB_GC_FIXED_ARENA)
21 end
22 conf.enable_bintest
23 conf.enable_test
24end
25
26MRuby::Build.new('cxx_abi') do |conf|
27 toolchain :gcc
28
29 conf.gembox 'full-core'
30 conf.cc.flags += %w(-fpermissive)
31 conf.compilers.each do |c|
32 c.defines += %w(MRB_GC_FIXED_ARENA)
33 end
34 conf.enable_bintest
35 conf.enable_test
36
37 enable_cxx_abi
38
39 build_mrbc_exec
40end
Note: See TracBrowser for help on using the repository browser.