Fix wrong YAML in `.github/workflows/build.yml`.

parent 763b39d0
...@@ -11,15 +11,8 @@ jobs: ...@@ -11,15 +11,8 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: apt - name: apt
run: sudo apt install ruby gperf run: sudo apt install ruby gperf
- name: build
run: rake -m
- name: test
run: rake test
run: sudo apt install ruby gperf
- name: build and test - name: build and test
run: rake -m -j4 gensym all test run: rake -m -j4 gensym all test
env:
MRUBY_TARGET: travis
Ubuntu-1804-gcc: Ubuntu-1804-gcc:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
...@@ -33,10 +26,6 @@ jobs: ...@@ -33,10 +26,6 @@ jobs:
run: sudo apt install ruby gperf gcc g++ run: sudo apt install ruby gperf gcc g++
- name: build and test - name: build and test
run: rake -m -j4 gensym all test run: rake -m -j4 gensym all test
env:
MRUBY_TARGET: travis
CC: gcc
CXX: g++
Ubuntu-1804-clang: Ubuntu-1804-clang:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
...@@ -50,10 +39,6 @@ jobs: ...@@ -50,10 +39,6 @@ jobs:
run: sudo apt install ruby gperf run: sudo apt install ruby gperf
- name: build and test - name: build and test
run: rake -m -j4 gensym all test run: rake -m -j4 gensym all test
env:
MRUBY_TARGET: travis
CC: clang
CXX: clang++
macOS: macOS:
runs-on: macos-latest runs-on: macos-latest
...@@ -65,23 +50,23 @@ jobs: ...@@ -65,23 +50,23 @@ jobs:
run: brew install ruby gperf run: brew install ruby gperf
- name: build and test - name: build and test
run: rake -m -j4 gensym all test run: rake -m -j4 gensym all test
env:
MRUBY_TARGET: travis
Windows-MinGW: Windows-MinGW:
runs-on: windows-latest runs-on: windows-latest
env:
MRUBY_TARGET: travis
CFLAGS: -g -O1 -Wall -Wundef
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: chocolatey - name: chocolatey
run: choco install -y ruby gperf run: choco install -y ruby gperf
- name: build - name: build
run: rake -E 'STDOUT.sync=true' -j4 gensym test run: rake -E 'STDOUT.sync=true' -j4 gensym all test
env:
MRUBY_TARGET: travis
CFLAGS: -g -O1 -Wall -Wundef
Windows-Cygwin: Windows-Cygwin:
runs-on: windows-latest runs-on: windows-latest
env:
MRUBY_TARGET: travis
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/cache@v1 - uses: actions/cache@v1
...@@ -99,19 +84,17 @@ jobs: ...@@ -99,19 +84,17 @@ jobs:
- name: Set ENV - name: Set ENV
run: | run: |
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin' 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 -E 'STDOUT.sync=true' -m
env:
MRUBY_TARGET: travis
- name: test
shell: cmd shell: cmd
run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -E 'STDOUT.sync=true' gensym test run: C:\tools\cygwin\bin\ruby.exe /usr/bin/rake -E 'STDOUT.sync=true' -m gensym all test
env:
MRUBY_TARGET: travis
Windows-VC: Windows-VC:
runs-on: windows-latest runs-on: windows-latest
env:
MRUBY_TARGET: appveyor
# TODO(take-cheeze): Re-enable /O2
CFLAGS: "/c /nologo /W3 /we4013 /Zi /MD /D_CRT_SECURE_NO_WARNINGS"
CXXFLAGS: "/c /nologo /W3 /Zi /MD /EHs /D_CRT_SECURE_NO_WARNINGS"
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: chocolatey - name: chocolatey
...@@ -121,8 +104,3 @@ jobs: ...@@ -121,8 +104,3 @@ jobs:
run: | run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
rake -E "STDOUT.sync=true" gensym all test rake -E "STDOUT.sync=true" gensym all test
env:
MRUBY_TARGET: appveyor
# TODO(take-cheeze): Re-enable /O2
CFLAGS: "/c /nologo /W3 /we4013 /Zi /MD /D_CRT_SECURE_NO_WARNINGS"
CXXFLAGS: "/c /nologo /W3 /Zi /MD /EHs /D_CRT_SECURE_NO_WARNINGS"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment