Commit d432688d authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Rename build configuration files for CI

Currently, there are build configuration files for CI, `travis.rb` and
`appveyor.rb`, but they are used for GCC/Clang and MSVC, not for Travis CI
and Appveyor, respectively.

Therefore, rename them to `gcc-clang.rb` and `msvc.rb`, respectively, and
move them under `build_config/ci/` to clarify that they are for CI.
parent 1b719762
...@@ -6,7 +6,7 @@ jobs: ...@@ -6,7 +6,7 @@ jobs:
Ubuntu-1604: Ubuntu-1604:
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04
env: env:
MRUBY_CONFIG: travis MRUBY_CONFIG: ci/gcc-clang
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: apt - name: apt
...@@ -17,7 +17,7 @@ jobs: ...@@ -17,7 +17,7 @@ jobs:
Ubuntu-1804-gcc: Ubuntu-1804-gcc:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
env: env:
MRUBY_CONFIG: travis MRUBY_CONFIG: ci/gcc-clang
CC: gcc CC: gcc
CXX: g++ CXX: g++
steps: steps:
...@@ -30,7 +30,7 @@ jobs: ...@@ -30,7 +30,7 @@ jobs:
Ubuntu-1804-clang: Ubuntu-1804-clang:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
env: env:
MRUBY_CONFIG: travis MRUBY_CONFIG: ci/gcc-clang
CC: clang CC: clang
CXX: clang++ CXX: clang++
steps: steps:
...@@ -43,7 +43,7 @@ jobs: ...@@ -43,7 +43,7 @@ jobs:
macOS: macOS:
runs-on: macos-latest runs-on: macos-latest
env: env:
MRUBY_CONFIG: travis MRUBY_CONFIG: ci/gcc-clang
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: brew - name: brew
...@@ -54,7 +54,7 @@ jobs: ...@@ -54,7 +54,7 @@ jobs:
Windows-MinGW: Windows-MinGW:
runs-on: windows-latest runs-on: windows-latest
env: env:
MRUBY_CONFIG: travis MRUBY_CONFIG: ci/gcc-clang
CFLAGS: -g -O1 -Wall -Wundef CFLAGS: -g -O1 -Wall -Wundef
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
...@@ -66,7 +66,7 @@ jobs: ...@@ -66,7 +66,7 @@ jobs:
Windows-Cygwin: Windows-Cygwin:
runs-on: windows-latest runs-on: windows-latest
env: env:
MRUBY_CONFIG: travis MRUBY_CONFIG: ci/gcc-clang
ACTIONS_ALLOW_UNSECURE_COMMANDS: true ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
...@@ -92,7 +92,7 @@ jobs: ...@@ -92,7 +92,7 @@ jobs:
Windows-VC: Windows-VC:
runs-on: windows-latest runs-on: windows-latest
env: env:
MRUBY_CONFIG: appveyor MRUBY_CONFIG: ci/msvc
# TODO(take-cheeze): Re-enable /O2 # TODO(take-cheeze): Re-enable /O2
CFLAGS: "/c /nologo /W3 /we4013 /Zi /MD /D_CRT_SECURE_NO_WARNINGS" CFLAGS: "/c /nologo /W3 /we4013 /Zi /MD /D_CRT_SECURE_NO_WARNINGS"
CXXFLAGS: "/c /nologo /W3 /Zi /MD /EHs /D_CRT_SECURE_NO_WARNINGS" CXXFLAGS: "/c /nologo /W3 /Zi /MD /EHs /D_CRT_SECURE_NO_WARNINGS"
......
...@@ -8,7 +8,7 @@ jobs: ...@@ -8,7 +8,7 @@ jobs:
- export PATH="/usr/local/opt/bison/bin:$PATH" - export PATH="/usr/local/opt/bison/bin:$PATH"
env: env:
- MRUBY_CONFIG=travis - MRUBY_CONFIG=ci/gcc-clang
script: script:
- rake gensym && rake -m && rake test - rake gensym && rake -m && rake test
...@@ -40,7 +40,7 @@ init: ...@@ -40,7 +40,7 @@ init:
build_script: build_script:
- set MRUBY_CONFIG=appveyor - set MRUBY_CONFIG=ci/msvc
- rake gensym - rake gensym
- rake -m all - rake -m all
- rake -E $stdout.sync=true test - rake -E $stdout.sync=true test
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