source: EcnlProtoTool/trunk/mruby-1.2.0/travis_config.rb@ 321

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

文字コードを設定

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-ruby;charset=UTF-8
File size: 1.0 KB
Line 
1MRuby::Build.new('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.compilers.each do |c|
9 c.defines += %w(MRB_GC_STRESS MRB_GC_FIXED_ARENA)
10 end
11
12 build_mrbc_exec
13end
14
15MRuby::Build.new('full-debug') do |conf|
16 toolchain :gcc
17 enable_debug
18
19 # include all core GEMs
20 conf.gembox 'full-core'
21 conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK)
22
23 conf.enable_test
24end
25
26MRuby::Build.new do |conf|
27 toolchain :gcc
28
29 # include all core GEMs
30 conf.gembox 'full-core'
31 conf.cc.flags += %w(-Werror=declaration-after-statement)
32 conf.compilers.each do |c|
33 c.defines += %w(MRB_GC_FIXED_ARENA)
34 end
35 conf.enable_bintest
36 conf.enable_test
37end
38
39MRuby::Build.new('cxx_abi') do |conf|
40 toolchain :gcc
41
42 conf.gembox 'full-core'
43 conf.cc.flags += %w(-Werror=declaration-after-statement)
44 conf.compilers.each do |c|
45 c.defines += %w(MRB_GC_FIXED_ARENA)
46 end
47 conf.enable_bintest
48 conf.enable_test
49
50 enable_cxx_abi
51
52 build_mrbc_exec
53end
Note: See TracBrowser for help on using the repository browser.