2019-02-27 07:30:24 -05:00
|
|
|
jobs:
|
|
|
|
- job: Linux
|
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-16.04'
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
bundled_gems:
|
|
|
|
task: test-bundled-gems
|
|
|
|
bundler:
|
|
|
|
task: test-bundler
|
|
|
|
steps:
|
|
|
|
- task: UseRubyVersion@0
|
|
|
|
inputs:
|
|
|
|
versionSpec: '2.5.1'
|
|
|
|
- script: sudo apt update -qy && sudo apt-get build-dep ruby2.3
|
2019-02-28 07:19:08 -05:00
|
|
|
- checkout: self
|
|
|
|
fetchDepth: 1
|
2019-02-27 07:30:24 -05:00
|
|
|
- script: |
|
|
|
|
autoconf
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
displayName: 'make'
|
|
|
|
- script: |
|
|
|
|
TRAVIS=1 make $(task)
|
|
|
|
displayName: "test"
|
|
|
|
|
|
|
|
- job: macOS
|
|
|
|
pool:
|
|
|
|
vmImage: 'macos-10.13'
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
# test:
|
|
|
|
# task: test test-all
|
|
|
|
# spec:
|
|
|
|
# task: test-spec
|
|
|
|
bundled_gems:
|
|
|
|
task: test-bundled-gems
|
|
|
|
bundler:
|
|
|
|
task: test-bundler
|
|
|
|
steps:
|
|
|
|
- script: brew update && brew install autoconf bison openssl
|
2019-02-28 07:19:08 -05:00
|
|
|
- checkout: self
|
|
|
|
fetchDepth: 1
|
2019-02-27 07:30:24 -05:00
|
|
|
- script: |
|
|
|
|
autoconf
|
|
|
|
./configure --with-openssl-dir=/usr/local/opt/openssl
|
|
|
|
make
|
|
|
|
displayName: 'make'
|
|
|
|
- script: |
|
2019-02-28 07:01:06 -05:00
|
|
|
make $(task)
|
2019-02-27 07:30:24 -05:00
|
|
|
displayName: "test"
|
|
|
|
|
|
|
|
# - job: vs2015
|
|
|
|
# pool:
|
|
|
|
# vmImage: "vs2015-win2012r2"
|
|
|
|
# strategy:
|
|
|
|
# matrix:
|
|
|
|
# test:
|
|
|
|
# task: test test-all
|
|
|
|
# spec:
|
|
|
|
# task: test-spec
|
|
|
|
# bundled_gems:
|
|
|
|
# task: test-bundled-gems
|
|
|
|
# bundler:
|
|
|
|
# task: test-bundler
|
|
|
|
# steps:
|
2019-03-01 08:16:29 -05:00
|
|
|
# - script: vcpkg --triplet x64-windows install openssl readline zlib
|
2019-02-27 07:30:24 -05:00
|
|
|
# - script: |
|
|
|
|
# call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat"
|
|
|
|
# cinst winflexbison
|
2019-03-01 08:16:29 -05:00
|
|
|
# win32/configure.bat --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows
|
2019-02-27 07:30:24 -05:00
|
|
|
# displayName: 'configure'
|
|
|
|
# - script: |
|
|
|
|
# call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat"
|
|
|
|
# set YACC=win_bison
|
|
|
|
# nmake up
|
|
|
|
# nmake
|
|
|
|
# set TRAVIS=1
|
|
|
|
# nmake $(task)
|
|
|
|
# displayName: "nmake"
|
|
|
|
|
|
|
|
- job: vs2017
|
|
|
|
pool:
|
|
|
|
vmImage: 'vs2017-win2016'
|
|
|
|
# strategy:
|
|
|
|
# matrix:
|
|
|
|
# test:
|
|
|
|
# task: test test-all
|
|
|
|
# spec:
|
|
|
|
# task: test-spec
|
|
|
|
# bundled_gems:
|
|
|
|
# task: test-bundled-gems
|
|
|
|
# bundler:
|
|
|
|
# task: test-bundler
|
|
|
|
steps:
|
2019-03-01 08:16:29 -05:00
|
|
|
- script: vcpkg --triplet x64-windows install openssl readline zlib
|
2019-02-28 07:19:08 -05:00
|
|
|
- checkout: self
|
|
|
|
fetchDepth: 1
|
2019-02-27 07:30:24 -05:00
|
|
|
- script: |
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
|
|
|
cinst winflexbison
|
2019-03-01 08:16:29 -05:00
|
|
|
win32/configure.bat --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows
|
2019-02-27 07:30:24 -05:00
|
|
|
displayName: 'configure'
|
|
|
|
- script: |
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
|
|
|
set YACC=win_bison
|
|
|
|
nmake up
|
|
|
|
nmake
|
|
|
|
# set TRAVIS=1
|
|
|
|
# nmake $(task)
|
|
|
|
displayName: "nmake"
|
|
|
|
|
2019-03-01 03:46:07 -05:00
|
|
|
- job: vs2019
|
|
|
|
pool:
|
|
|
|
vmImage: "windows-2019"
|
2019-02-27 07:30:24 -05:00
|
|
|
# strategy:
|
|
|
|
# matrix:
|
|
|
|
# test:
|
|
|
|
# task: test test-all
|
|
|
|
# spec:
|
|
|
|
# task: test-spec
|
|
|
|
# bundled_gems:
|
|
|
|
# task: test-bundled-gems
|
|
|
|
# bundler:
|
|
|
|
# task: test-bundler
|
2019-03-01 03:46:07 -05:00
|
|
|
steps:
|
2019-03-01 08:16:29 -05:00
|
|
|
# - script: vcpkg --triplet x64-windows install openssl readline zlib
|
2019-03-03 08:35:25 -05:00
|
|
|
- checkout: self
|
|
|
|
fetchDepth: 1
|
2019-03-01 03:46:07 -05:00
|
|
|
- script: |
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Auxiliary\Build\vcvars64.bat"
|
|
|
|
cinst winflexbison
|
2019-03-01 08:16:29 -05:00
|
|
|
win32/configure.bat --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows
|
2019-03-01 03:46:07 -05:00
|
|
|
displayName: 'configure'
|
|
|
|
- script: |
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Auxiliary\Build\vcvars64.bat"
|
|
|
|
set YACC=win_bison
|
|
|
|
nmake up
|
|
|
|
nmake
|
2019-02-27 07:30:24 -05:00
|
|
|
# set TRAVIS=1
|
|
|
|
# nmake $(task)
|
2019-03-01 03:46:07 -05:00
|
|
|
displayName: "nmake"
|