mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
bc321ece4c
1. Reduce build time
Build time becomes less than half. In MiniRake, a way of using fiber may not be good.
2. Synchronize standard output
No synchronized:
mrbtest - Embeddable Ruby Test
...........................
Total: 1165
(snip)
Time: 1.19 seconds
bintest - Command Binary Test
.....................
Total: 21
(snip)
Time: 0.39 seconds
mrbtest - Embeddable Ruby Test
...........................
Total: 1165
(snip)
Skip: 23
Time: 1.15 seconds
(snip)
>>> Test cxx_abi <<<
>>> Bintest host <<<
>>> Test host <<<
>>> Test full-debug <<<
>>> Bintest cxx_abi <<<
Synchronized:
>>> Test full-debug <<<
mrbtest - Embeddable Ruby Test
...........................
Total: 1165
(snip)
Time: 1.25 seconds
>>> Test host <<<
mrbtest - Embeddable Ruby Test
...........................
Total: 1165
(snip)
Time: 1.16 seconds
>>> Bintest host <<<
bintest - Command Binary Test
.....................
Total: 21
(snip)
Time: 0.41 seconds
>>> Test cxx_abi <<<
mrbtest - Embeddable Ruby Test
(snip)
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
version: "{build}"
|
|
|
|
os: Visual Studio 2017
|
|
|
|
shallow_clone: true
|
|
|
|
|
|
cache:
|
|
- win_flex_bison
|
|
|
|
|
|
environment:
|
|
matrix:
|
|
# Visual Studio 2017 64bit
|
|
- visualcpp: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
# Visual Studio 2015 64bit
|
|
- visualcpp: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
|
|
machine: amd64
|
|
|
|
# Visual Studio 2013 64bit
|
|
- visualcpp: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
|
|
machine: amd64
|
|
|
|
|
|
init:
|
|
- call "%visualcpp%" %machine%
|
|
# For using Rubyinstaller's Ruby 2.4 64bit
|
|
- set PATH=C:\Ruby24-x64\bin;%PATH%
|
|
- ruby --version
|
|
|
|
|
|
install:
|
|
- if not exist win_flex_bison (
|
|
appveyor DownloadFile "https://github.com/lexxmark/winflexbison/releases/download/v.2.5.10/win_flex_bison-2.5.10.zip" &
|
|
7z x -y -owin_flex_bison win_flex_bison-2.5.10.zip
|
|
)
|
|
|
|
build_script:
|
|
- set YACC=.\win_flex_bison\win_bison.exe
|
|
- set MRUBY_CONFIG=appveyor_config.rb
|
|
- rake -E $stdout.sync=true test
|