diff options
| author | KOBAYASHI Shuji <[email protected]> | 2021-01-07 19:46:03 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2021-01-07 19:46:03 +0900 |
| commit | 35c85cb21fb53ddb476f2182448210170b4e5b67 (patch) | |
| tree | 087996d7698954e522ab328fbf995d6367777d66 /build_config | |
| parent | ec6f46c05dfdf5bd7ef5c9a36ea1751ff564b2ef (diff) | |
| download | mruby-35c85cb21fb53ddb476f2182448210170b4e5b67.tar.gz mruby-35c85cb21fb53ddb476f2182448210170b4e5b67.zip | |
Immediately flush output to stdout/stderr so that logs are not mixed on CI
Set in build configuration to enable on all CI platforms.
Diffstat (limited to 'build_config')
| -rw-r--r-- | build_config/ci/gcc-clang.rb | 2 | ||||
| -rw-r--r-- | build_config/ci/msvc.rb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/build_config/ci/gcc-clang.rb b/build_config/ci/gcc-clang.rb index 7da8c1bf4..e3ef1ad53 100644 --- a/build_config/ci/gcc-clang.rb +++ b/build_config/ci/gcc-clang.rb @@ -1,3 +1,5 @@ +STDOUT.sync = STDERR.sync = true + MRuby::Build.new('full-debug') do |conf| conf.toolchain conf.enable_debug diff --git a/build_config/ci/msvc.rb b/build_config/ci/msvc.rb index 2df2d4864..801b5fcb5 100644 --- a/build_config/ci/msvc.rb +++ b/build_config/ci/msvc.rb @@ -1,3 +1,5 @@ +STDOUT.sync = STDERR.sync = true + def setup_option(conf) conf.cc.compile_options.sub!(%r{/Zi }, "") unless ENV['CFLAGS'] conf.cxx.compile_options.sub!(%r{/Zi }, "") unless ENV['CFLAGS'] || ENV['CXXFLAGS'] @@ -5,7 +7,7 @@ def setup_option(conf) end MRuby::Build.new do |conf| - toolchain :visualcpp + conf.toolchain :visualcpp # include all core GEMs conf.gembox 'full-core' |
