mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00

test-bundler started to fail with r67383 https://dev.azure.com/rubylang/ruby/_build/results?buildId=278 which is very unlikely to be Ruby implementation's fault. test-bundled_gems also started to fail with r67413 https://dev.azure.com/rubylang/ruby/_build/results?buildId=303 I'm not sure the commit is related to the failure. Overall, they are not useful as testing environment of Ruby itself for now since nobody seems to take care of these CI statuses. Let's stop reporting the status to GitHub until it becomes reliable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
152 lines
4.2 KiB
YAML
152 lines
4.2 KiB
YAML
pr: none # comment out this line if you need to test this file on PR
|
|
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
|
|
- checkout: self
|
|
fetchDepth: 10
|
|
- script: |
|
|
autoconf
|
|
./configure
|
|
make
|
|
displayName: 'make'
|
|
- script: |
|
|
TRAVIS=1 make $(task)
|
|
displayName: "test"
|
|
continueOnError: true # test-bundled-gems and test-bundler are failing on Linux. TODO: fix them and remove this line.
|
|
|
|
- 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
|
|
- checkout: self
|
|
fetchDepth: 10
|
|
- script: |
|
|
autoconf
|
|
./configure --with-openssl-dir=/usr/local/opt/openssl
|
|
make
|
|
displayName: 'make'
|
|
- script: |
|
|
make $(task)
|
|
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:
|
|
# - script: vcpkg --triplet x64-windows install openssl readline zlib
|
|
# - script: |
|
|
# call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat"
|
|
# cinst winflexbison
|
|
# win32/configure.bat --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows
|
|
# 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:
|
|
# FIXME: Refactor this. Note that %errorlevel% does not work in for loop.
|
|
- script: |
|
|
vcpkg --triplet x64-windows install %dependencies% || (
|
|
sleep 4 && vcpkg --triplet x64-windows install %dependencies%
|
|
) || (
|
|
sleep 25 && vcpkg --triplet x64-windows install %dependencies%
|
|
)
|
|
env:
|
|
dependencies: openssl readline zlib
|
|
- checkout: self
|
|
fetchDepth: 10
|
|
- script: |
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
|
cinst winflexbison
|
|
win32/configure.bat --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows
|
|
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"
|
|
|
|
- job: vs2019
|
|
pool:
|
|
vmImage: "windows-2019"
|
|
# strategy:
|
|
# matrix:
|
|
# test:
|
|
# task: test test-all
|
|
# spec:
|
|
# task: test-spec
|
|
# bundled_gems:
|
|
# task: test-bundled-gems
|
|
# bundler:
|
|
# task: test-bundler
|
|
steps:
|
|
# - script: vcpkg --triplet x64-windows install openssl readline zlib
|
|
- checkout: self
|
|
fetchDepth: 10
|
|
- script: |
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Auxiliary\Build\vcvars64.bat"
|
|
cinst winflexbison
|
|
win32/configure.bat --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows
|
|
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
|
|
# set TRAVIS=1
|
|
# nmake $(task)
|
|
displayName: "nmake"
|