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>
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ for:
- git pull -q
- .\bootstrap-vcpkg.bat
- 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
- SET vcvars
- '"%vcvars%" %Platform:x64=amd64%'