mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
try not separating build and test steps
This commit is contained in:
+11
-24
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user