separate build and test steps, remove MSC
MODIFY
.github/workflows/build.yml
.github/workflows/build.yml
@@ -9,8 +9,10 @@ jobs:
- uses: actions/checkout@v1
- name: apt
run: sudo apt install ruby gperf
- - name: build and test
- run: rake -m -j4 all test
+ - name: build
+ run: rake -m -j4 all
+ - name: test
+ run: rake test
env:
MRUBY_CONFIG: travis_config.rb
@@ -20,8 +22,10 @@ jobs:
- uses: actions/checkout@v1
- name: apt
run: sudo apt install ruby gperf gcc g++
- - name: build and test
- run: rake -m -j4 all test
+ - name: build
+ run: rake -m -j4 all
+ - name: test
+ run: rake test
env:
MRUBY_CONFIG: travis_config.rb
CC: gcc
@@ -33,8 +37,10 @@ jobs:
- uses: actions/checkout@v1
- name: apt
run: sudo apt install ruby gperf
- - name: build and test
- run: rake -m -j4 all test
+ - name: build
+ run: rake -m -j4 all
+ - name: test
+ run: rake test
env:
MRUBY_CONFIG: travis_config.rb
CC: clang
@@ -46,8 +52,10 @@ jobs:
- uses: actions/checkout@v1
- name: brew
run: brew install ruby gperf
- - name: build and test
- run: rake -m -j4 all test
+ - name: build
+ run: rake -m -j4 all
+ - name: test
+ run: rake test
env:
MRUBY_CONFIG: travis_config.rb
@@ -57,8 +65,10 @@ jobs:
- uses: actions/checkout@v1
- name: chocolatey
run: choco install -y ruby gperf
- - name: build and test
- run: rake -E '$stdout.sync=true' -j4 test
+ - name: build
+ run: rake -E '$stdout.sync=true' -m -j4
+ - name: test
+ run: rake -E 'STDOUT.sync=true' test
env:
MRUBY_CONFIG: travis_config.rb
CFLAGS: -g -O1 -Wall -Wundef
@@ -82,22 +92,11 @@ jobs:
- name: Set ENV
run: |
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin'
- - name: build and test
+ - name: build
shell: cmd
- run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -m -j4 -E 'STDOUT.sync=true' test
- env:
- MRUBY_CONFIG: travis_config.rb
-
- Windows-VC:
- runs-on: windows-latest
- steps:
- - uses: actions/checkout@v1
- - name: chocolatey
- run: choco install -y ruby gperf
- - name: build and test
+ run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -m -j4 -E 'STDOUT.sync=true'
+ - name: test
shell: cmd
- run: |
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
- rake -E "STDOUT.sync=true" -m -j4 test
+ run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -E 'STDOUT.sync=true' test
env:
- MRUBY_CONFIG: appveyor_config.rb
+ MRUBY_CONFIG: travis_config.rb

separate build and test steps, remove MSC