diff options
| author | Takeshi Watanabe <[email protected]> | 2019-12-14 00:39:54 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:00 +0900 |
| commit | 9712379e0f9918f89ff741978f542dfd2dad3492 (patch) | |
| tree | 7109b5ee6314bbf34e79c169ad63d5f490559080 /target | |
| parent | b67955b8caeff907e577005ffedc6553db5415cc (diff) | |
| download | mruby-9712379e0f9918f89ff741978f542dfd2dad3492.tar.gz mruby-9712379e0f9918f89ff741978f542dfd2dad3492.zip | |
Start GitHub Actions; close #4903
Diffstat (limited to 'target')
| -rw-r--r-- | target/travis.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/travis.rb b/target/travis.rb index f4bef0a52..6af9c98d2 100644 --- a/target/travis.rb +++ b/target/travis.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) |
