summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml8
-rw-r--r--.travis.yml5
-rw-r--r--appveyor.yml5
-rw-r--r--build_config/ci/gcc-clang.rb2
-rw-r--r--build_config/ci/msvc.rb4
5 files changed, 11 insertions, 13 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 60aa438a2..5e530ae5e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -87,7 +87,7 @@ jobs:
- name: Build and test
# If build and test are separated like `rake && rake test`, somehow
# it will be fully built even at `rake test`, so it is not separated.
- run: rake -E STDOUT.sync=true test
+ run: rake test
Windows-Cygwin:
needs: Check-Skip
@@ -130,9 +130,7 @@ jobs:
run: ${{ env.CC }} --version
- name: Build and test
shell: cmd
- run: |
- ruby /usr/bin/rake -E STDOUT.sync=true -m
- ruby /usr/bin/rake -E STDOUT.sync=true test
+ run: ruby /usr/bin/rake -m && ruby /usr/bin/rake test
- name: Set PATH for cache archiving (tar)
# set Windows path so that Cygwin tar is not used for cache archiving
run: echo '::set-env name=PATH::C:\windows\System32'
@@ -150,4 +148,4 @@ jobs:
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
- rake -E STDOUT.sync=true -m && rake -E STDOUT.sync=true test
+ rake -m && rake test
diff --git a/.travis.yml b/.travis.yml
index f3ed6a73e..1e09654be 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,12 +3,9 @@ language: c
jobs:
- os: linux
- os: osx
- before_install:
- - HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 brew install bison
- - export PATH="/usr/local/opt/bison/bin:$PATH"
env:
- MRUBY_CONFIG=ci/gcc-clang
script:
- - rake gensym && rake -m && rake test
+ - rake -m && rake test
diff --git a/appveyor.yml b/appveyor.yml
index d05696e69..227d7898e 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -41,6 +41,5 @@ init:
build_script:
- set MRUBY_CONFIG=ci/msvc
- - rake gensym
- - rake -m all
- - rake -E $stdout.sync=true test
+ - rake -m
+ - rake test
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'