try not separating build and test steps

This commit is contained in:
Rory OConnell
2020-07-05 21:37:20 -07:00
parent b3dace6ae3
commit b759746890
+11 -24
View File
@@ -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
- name: build and test
shell: cmd
run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -m -j4 -E 'STDOUT.sync=true'
- name: 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