-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest_config.rb
110 lines (77 loc) · 1.78 KB
/
test_config.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
MRuby::Lockfile.disable rescue nil
MRuby::Build.new do |conf|
toolchain :clang
conf.build_dir = "host32"
enable_debug
enable_test
gem core: "mruby-print"
gem core: "mruby-bin-mrbc"
gem core: "mruby-bin-mruby"
gem "."
end
MRuby::Build.new("host32-c++") do |conf|
toolchain :clang
conf.build_dir = conf.name
enable_debug
enable_test
enable_cxx_abi
gem core: "mruby-print"
gem core: "mruby-bin-mrbc"
gem core: "mruby-bin-mruby"
gem "."
end if false
MRuby::Build.new("host32-with-zstdlegacy") do |conf|
toolchain :clang
conf.build_dir = conf.name
cc.defines << "ZSTD_LEGACY_SUPPORT"
enable_debug
enable_test
gem core: "mruby-print"
gem core: "mruby-bin-mrbc"
gem core: "mruby-bin-mruby"
gem "."
end
MRuby::Build.new("host64") do |conf|
toolchain :clang
conf.build_dir = conf.name
cc.defines << "MRB_INT64"
enable_debug
enable_test
gem core: "mruby-print"
gem core: "mruby-bin-mrbc"
gem core: "mruby-bin-mruby"
gem "."
end if false
MRuby::Build.new("host-nan32") do |conf|
toolchain :clang
conf.build_dir = conf.name
cc.defines << "MRB_NAN_BOXING"
enable_debug
enable_test
gem core: "mruby-print"
gem core: "mruby-bin-mrbc"
gem core: "mruby-bin-mruby"
gem "."
end if false
MRuby::Build.new("host-word32") do |conf|
toolchain :clang
conf.build_dir = conf.name
cc.defines << "MRB_WORD_BOXING"
enable_debug
enable_test
gem core: "mruby-print"
gem core: "mruby-bin-mrbc"
gem core: "mruby-bin-mruby"
gem "."
end if false
MRuby::Build.new("host-word64") do |conf|
toolchain :clang
conf.build_dir = conf.name
cc.defines << %w(MRB_WORD_BOXING MRB_INT64)
enable_debug
enable_test
gem core: "mruby-print"
gem core: "mruby-bin-mrbc"
gem core: "mruby-bin-mruby"
gem "."
end if false