appveyor.yml 938 Bytes
Newer Older
1 2 3
---
clone_depth: 10
install:
4 5 6 7 8 9 10 11 12 13 14 15 16 17
  - ps: |
      $Env:PATH = "C:\Ruby${Env:ruby_version}\bin;${Env:PATH}"
      if ($Env:ruby_version -match "^23" ) {
        # RubyInstaller; download OpenSSL headers from OpenKnapsack Project
        $Env:openssl_dir = "C:\Ruby${Env:ruby_version}"
        appveyor DownloadFile http://dl.bintray.com/oneclick/OpenKnapsack/x64/openssl-1.0.2j-x64-windows.tar.lzma
        7z e openssl-1.0.2j-x64-windows.tar.lzma
        7z x -y -oC:\Ruby${Env:ruby_version} openssl-1.0.2j-x64-windows.tar
      } else {
        # RubyInstaller2; openssl package seems to be installed already
        $Env:openssl_dir = "C:\msys64\mingw64"
      }
  - ruby -v
  - rake install_dependencies
18
build_script:
19
  - rake -rdevkit compile -- --with-openssl-dir=%openssl_dir% --enable-debug
20
test_script:
21
  - rake test OSSL_MDEBUG=1
22 23 24
deploy: off
environment:
  matrix:
25 26
    - ruby_version: "23-x64" # RI
    - ruby_version: "24-x64" # RI2