try not separating build and test steps
@@ -9,10 +9,8 @@ jobs:
- uses: actions/checkout@v1
- name: apt
run: sudo apt install ruby gperf
- - name: build
- run: rake -m -j4 all
- - name: test
- run: rake test -v
+ - name: build and test
+ run: rake -v test
env:
MRUBY_CONFIG: travis_config.rb
@@ -22,10 +20,8 @@ jobs:
- uses: actions/checkout@v1
- name: apt
run: sudo apt install ruby gperf gcc g++
- - name: build
- run: rake -m -j4 all
- - name: test
- run: rake test -v
+ - name: build and test
+ run: rake -v test
env:
MRUBY_CONFIG: travis_config.rb
CC: gcc
@@ -37,10 +33,8 @@ jobs:
- uses: actions/checkout@v1
- name: apt
run: sudo apt install ruby gperf
- - name: build
- run: rake -m -j4 all
- - name: test
- run: rake test -v
+ - name: build and test
+ run: rake -v test
env:
MRUBY_CONFIG: travis_config.rb
CC: clang
@@ -52,10 +46,8 @@ jobs:
- uses: actions/checkout@v1
- name: brew
run: brew install ruby gperf
- - name: build
- run: rake -m -j4 all
- - name: test
- run: rake test -v
+ - name: build and test
+ run: rake -v test
env:
MRUBY_CONFIG: travis_config.rb
@@ -66,9 +58,7 @@ jobs:
- name: chocolatey
run: choco install -y ruby gperf
- name: build
- run: rake -E '$stdout.sync=true' -m -j4
- - name: test
- run: rake -E 'STDOUT.sync=true' test
+ run: rake -E 'STDOUT.sync=true' -v test
env:
MRUBY_CONFIG: travis_config.rb
CFLAGS: -g -O1 -Wall -Wundef
@@ -92,11 +82,8 @@ jobs:
- name: Set ENV
run: |
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin'
- - name: build
- shell: cmd
- run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -m -j4 -E 'STDOUT.sync=true'
- - name: test
+ - name: build and test
shell: cmd
- run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -E 'STDOUT.sync=true' test
+ run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -E 'STDOUT.sync=true' -v test
env:
MRUBY_CONFIG: travis_config.rb
