summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@ruby-lang.org>2015-09-18 15:55:41 +0900
committerNARUSE, Yui <naruse@airemix.jp>2015-11-21 10:05:19 +0900
commitaa8c3717120e860c2d67060a82770ad9eaff55fc (patch)
tree58077c9074dd5a8adcaba417be49d4cd872bf902
parent40e797dec15fdac64a5e3779f123c6aa380866fe (diff)
downloadruby-test.tar.gz
add appveyor.ymltest
-rw-r--r--appveyor.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000000..f2e3bffb68
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,37 @@
+---
+branches:
+ only:
+ - msvc14
+shallow_clone: true
+platform: x64
+install:
+ - SET
+ - '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64'
+ - SET PATH=C:\Ruby22-x64\bin;%PATH%
+ - ruby --version
+ - 'cl'
+ - SET
+ - ps: Start-FileDownload 'http://openssl.org/source/openssl-1.0.2d.tar.gz'
+ - 7z x openssl-1.0.2d.tar.gz
+ - 7z x openssl-1.0.2d.tar
+ - cd openssl-1.0.2d
+ - perl Configure VC-WIN64A --prefix=/projects/%APPVEYOR_PROJECT_SLUG% no-asm
+ - ms\do_win64a
+ - nmake -f ms\ntdll.mak
+ - nmake -f ms\ntdll.mak install
+ - cd ..
+ - ps: Start-FileDownload 'http://zlib.net/zlib128.zip'
+ - 7z x zlib128.zip
+ - cd zlib-1.2.8
+ - nmake -f win32/Makefile.msc
+ - move zlib1.dll ..
+ - cd ..
+build_script:
+ - cd %APPVEYOR_BUILD_FOLDER%
+ - win32\configure.bat --with-opt-dir=/projects/%APPVEYOR_PROJECT_SLUG% --with-zlib-include=/projects/%APPVEYOR_PROJECT_SLUG%/zlib-1.2.8 --with-zlib-lib=/projects/%APPVEYOR_PROJECT_SLUG%/zlib-1.2.8
+ - nmake up
+ - nmake
+test_script:
+ - nmake btest
+ - nmake test
+ - nmake RUBYOPT=-w TESTS="-v -j 2" test-all