Skip to content

Commit 995bdd6

Browse files
authored
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.
1 parent b54c8ba commit 995bdd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ for:
4646
- git pull -q
4747
- .\bootstrap-vcpkg.bat
4848
- cd %APPVEYOR_BUILD_FOLDER%
49-
- vcpkg --triplet %Platform%-windows install libffi libyaml readline zlib
49+
- vcpkg --triplet %Platform%-windows install --x-use-aria2 libffi libyaml readline zlib
5050
- CALL SET vcvars=%%^VS%VS%COMNTOOLS^%%..\..\VC\vcvarsall.bat
5151
- SET vcvars
5252
- '"%vcvars%" %Platform:x64=amd64%'

0 commit comments

Comments
 (0)