diff options
| author | Takeshi Watanabe <[email protected]> | 2019-12-14 00:39:54 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-05-24 22:34:28 +0900 |
| commit | 4ce3997ca4821394ed9ce572daace59383a62b41 (patch) | |
| tree | 4e88e8d922d43bc7ce3fedaa500f803bc5b652f2 /travis_config.rb | |
| parent | 93e78fcde1d4b9b7e9e7d86eeace95df0907aa0e (diff) | |
| download | mruby-4ce3997ca4821394ed9ce572daace59383a62b41.tar.gz mruby-4ce3997ca4821394ed9ce572daace59383a62b41.zip | |
Start GitHub Actions; close #4903
Diffstat (limited to 'travis_config.rb')
| -rw-r--r-- | travis_config.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/travis_config.rb b/travis_config.rb index f4bef0a52..6af9c98d2 100644 --- a/travis_config.rb +++ b/travis_config.rb @@ -1,5 +1,21 @@ +MRuby::Build.new('debug') do |conf| + toolchain :gcc + yacc.command = ENV['YACC'] || 'bison' + enable_debug + + # include all core GEMs + conf.gembox 'full-core' + conf.cc.flags += %w(-Werror=declaration-after-statement) + conf.compilers.each do |c| + c.defines += %w(MRB_GC_STRESS MRB_GC_FIXED_ARENA MRB_METHOD_CACHE) + end + + build_mrbc_exec +end + MRuby::Build.new('full-debug') do |conf| toolchain :gcc + yacc.command = ENV['YACC'] || 'bison' enable_debug # include all core GEMs @@ -12,6 +28,7 @@ end MRuby::Build.new do |conf| toolchain :gcc + yacc.command = ENV['YACC'] || 'bison' # include all core GEMs conf.gembox 'full-core' @@ -25,6 +42,7 @@ end MRuby::Build.new('cxx_abi') do |conf| toolchain :gcc + yacc.command = ENV['YACC'] || 'bison' conf.gembox 'full-core' conf.cc.flags += %w(-fpermissive) |
