Retry vcpkg install failures
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9810c08a5d
commit
ae0f20c6bf
@ -96,7 +96,17 @@ jobs:
|
|||||||
# bundler:
|
# bundler:
|
||||||
# task: test-bundler
|
# task: test-bundler
|
||||||
steps:
|
steps:
|
||||||
- script: vcpkg --triplet x64-windows install openssl readline zlib
|
# FIXME: Refactor this. Note that %errorlevel% does not work in for loop.
|
||||||
|
- script: |
|
||||||
|
vcpkg --triplet x64-windows install %dependencies%
|
||||||
|
if %errorlevel% == 0 (exit 0)
|
||||||
|
sleep 4
|
||||||
|
vcpkg --triplet x64-windows install %dependencies%
|
||||||
|
if %errorlevel% == 0 (exit 0)
|
||||||
|
sleep 25
|
||||||
|
vcpkg --triplet x64-windows install %dependencies%
|
||||||
|
env:
|
||||||
|
dependencies: openssl readline zlib
|
||||||
- checkout: self
|
- checkout: self
|
||||||
fetchDepth: 10
|
fetchDepth: 10
|
||||||
- script: |
|
- script: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user