summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2021-01-07 19:46:03 +0900
committerKOBAYASHI Shuji <[email protected]>2021-01-07 19:46:03 +0900
commit35c85cb21fb53ddb476f2182448210170b4e5b67 (patch)
tree087996d7698954e522ab328fbf995d6367777d66 /.github/workflows
parentec6f46c05dfdf5bd7ef5c9a36ea1751ff564b2ef (diff)
downloadmruby-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 '.github/workflows')
-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