mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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.
This commit is contained in:
@@ -6,7 +6,7 @@ jobs:
|
||||
Ubuntu-1604:
|
||||
runs-on: ubuntu-16.04
|
||||
env:
|
||||
MRUBY_CONFIG: travis
|
||||
MRUBY_CONFIG: ci/gcc-clang
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: apt
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
Ubuntu-1804-gcc:
|
||||
runs-on: ubuntu-18.04
|
||||
env:
|
||||
MRUBY_CONFIG: travis
|
||||
MRUBY_CONFIG: ci/gcc-clang
|
||||
CC: gcc
|
||||
CXX: g++
|
||||
steps:
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
Ubuntu-1804-clang:
|
||||
runs-on: ubuntu-18.04
|
||||
env:
|
||||
MRUBY_CONFIG: travis
|
||||
MRUBY_CONFIG: ci/gcc-clang
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
steps:
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
macOS:
|
||||
runs-on: macos-latest
|
||||
env:
|
||||
MRUBY_CONFIG: travis
|
||||
MRUBY_CONFIG: ci/gcc-clang
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: brew
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
Windows-MinGW:
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
MRUBY_CONFIG: travis
|
||||
MRUBY_CONFIG: ci/gcc-clang
|
||||
CFLAGS: -g -O1 -Wall -Wundef
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
Windows-Cygwin:
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
MRUBY_CONFIG: travis
|
||||
MRUBY_CONFIG: ci/gcc-clang
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
@@ -92,7 +92,7 @@ jobs:
|
||||
Windows-VC:
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
MRUBY_CONFIG: appveyor
|
||||
MRUBY_CONFIG: ci/msvc
|
||||
# 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"
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ jobs:
|
||||
- export PATH="/usr/local/opt/bison/bin:$PATH"
|
||||
|
||||
env:
|
||||
- MRUBY_CONFIG=travis
|
||||
- MRUBY_CONFIG=ci/gcc-clang
|
||||
|
||||
script:
|
||||
- rake gensym && rake -m && rake test
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ init:
|
||||
|
||||
|
||||
build_script:
|
||||
- set MRUBY_CONFIG=appveyor
|
||||
- set MRUBY_CONFIG=ci/msvc
|
||||
- rake gensym
|
||||
- rake -m all
|
||||
- rake -E $stdout.sync=true test
|
||||
|
||||
Reference in New Issue
Block a user