Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 1ac702a

Browse files
committed
Added appveyor.yml config to do CI for windows.
Let make output directly to stdout instead of capturing.
1 parent 49873b3 commit 1ac702a

2 files changed

Lines changed: 39 additions & 2 deletions

File tree

appveyor.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: 3.16.14.8.b{build}
2+
3+
# Operating system (build VM template)
4+
os: Windows Server 2012
5+
6+
clone_depth: 10
7+
8+
environment:
9+
matrix:
10+
- ruby_version: "22-x64"
11+
- ruby_version: "22"
12+
- ruby_version: "21-x64"
13+
- ruby_version: "21"
14+
- ruby_version: "200-x64"
15+
- ruby_version: "200"
16+
- ruby_version: "193"
17+
18+
# scripts that run after cloning repository
19+
install:
20+
- set PATH=C:\Ruby%ruby_version%\bin;%PATH%
21+
- C:\Ruby%ruby_version%\DevKit\devkitvars.bat
22+
- git submodule update --init
23+
- ruby --version
24+
- gem --version
25+
- gem install bundler --no-ri --no-rdoc
26+
- bundle --version
27+
- bundle install --jobs=1 --retry=3
28+
29+
build_script:
30+
- bundle exec rake binary
31+
32+
test_script:
33+
- bundle exec rake spec
34+
35+
artifacts:
36+
- path: pkg\*.gem
37+

ext/libv8/builder.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ def build_libv8!
6161
when /mingw/
6262
# use a script that will fix the paths in the generated Makefiles
6363
# don't use make_flags otherwise it will trigger a rebuild of the Makefiles
64-
`env CXX=#{@compiler} LINK=#{@compiler} bash #{PATCH_DIRECTORY}/mingw-generate-makefiles.sh`
65-
puts `env CXX=#{@compiler} LINK=#{@compiler} make #{make_target}`
64+
system "env CXX=#{@compiler} LINK=#{@compiler} bash #{PATCH_DIRECTORY}/mingw-generate-makefiles.sh"
65+
system "env CXX=#{@compiler} LINK=#{@compiler} make #{make_target}"
6666

6767
else
6868
puts `env CXX=#{@compiler} LINK=#{@compiler} #{make} #{make_flags}`

0 commit comments

Comments
 (0)