mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
build_config/no-float.rb: test build for MRB_NO_FLOAT
mruby allows to disable floating point numbers. We have add a build configuration to test mruby build without floating point numbers.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Define cross build settings
|
||||
MRuby::CrossBuild.new('no-float') do |conf|
|
||||
conf.toolchain
|
||||
|
||||
# Add configuration
|
||||
conf.compilers.each do |c|
|
||||
c.defines << "MRB_NO_FLOAT"
|
||||
end
|
||||
|
||||
conf.gem :core => "mruby-bin-mruby"
|
||||
|
||||
conf.test_runner.command = 'env'
|
||||
|
||||
conf.enable_debug
|
||||
# conf.enable_bintest
|
||||
conf.enable_test
|
||||
end
|
||||
Reference in New Issue
Block a user