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

Try --x-use-aria2 for better retries (#6574)

to possibly deal with failures like https://ci.appveyor.com/project/ruby/ruby/builds/45097615.

I'm not sure how vcpkg retries things, but at least aria2c seems to attempt downloads 5 times by default.
https://aria2.github.io/manual/en/html/aria2c.html

Looking at the CI log, vcpkg might be already trying it 5 times, but let me give it a try too.
This commit is contained in:
Takashi Kokubun 2022-10-17 15:37:56 -07:00 committed by GitHub
parent b54c8ba8fc
commit 995bdd69de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2022-10-17 22:38:16 +00:00
Merged-By: k0kubun <takashikkbn@gmail.com>

View file

@ -46,7 +46,7 @@ for:
- git pull -q - git pull -q
- .\bootstrap-vcpkg.bat - .\bootstrap-vcpkg.bat
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
- vcpkg --triplet %Platform%-windows install libffi libyaml readline zlib - vcpkg --triplet %Platform%-windows install --x-use-aria2 libffi libyaml readline zlib
- CALL SET vcvars=%%^VS%VS%COMNTOOLS^%%..\..\VC\vcvarsall.bat - CALL SET vcvars=%%^VS%VS%COMNTOOLS^%%..\..\VC\vcvarsall.bat
- SET vcvars - SET vcvars
- '"%vcvars%" %Platform:x64=amd64%' - '"%vcvars%" %Platform:x64=amd64%'