summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-01-07 20:21:13 +0900
committerGitHub <[email protected]>2021-01-07 20:21:13 +0900
commit76241a9630411b9ab6839f46319a6d12dd1f7a33 (patch)
tree2a6c96d49a7d30416d45ccc9bc90f7b5351d386f /.github
parenta435cc94ec202f3ada81958899219380748a1729 (diff)
parent35c85cb21fb53ddb476f2182448210170b4e5b67 (diff)
downloadmruby-76241a9630411b9ab6839f46319a6d12dd1f7a33.tar.gz
mruby-76241a9630411b9ab6839f46319a6d12dd1f7a33.zip
Merge pull request #5264 from shuujii/immediately-flush-output-to-stdout-stderr-so-that-logs-are-not-mixed-on-CI
Immediately flush output to stdout/stderr so that logs are not mixed on CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml8
1 files changed, 3 insertions, 5 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