diff options
author | Christian Fetzer <fetzer.ch@gmail.com> | 2016-09-24 23:44:19 +0200 |
---|---|---|
committer | Christian Fetzer <fetzer.ch@gmail.com> | 2016-09-24 23:44:19 +0200 |
commit | 5e07753226ebe8d58241ac3a7bd68b2a1d858db9 (patch) | |
tree | 59c841908752140fcb9673b6a952f42570c618f7 | |
parent | 8fe310ab2adb5009da59e5ece323f5a982d0c274 (diff) |
[appveyor] Use wget to download mingw depends
curl silenty fails.
-rw-r--r-- | appveyor.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml index 2293fb0004..21881ac0f8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,7 +19,6 @@ init: install: - SET PATH=C:\Program Files (x86)\CMake\bin;C:\msys64\bin;C:\msys64\usr\bin;%PATH% - bash -lc "pacman --needed --noconfirm -Sy" - - bash -lc "pacman --needed --noconfirm -S curl" - mklink /j %APPVEYOR_BUILD_FOLDER%\project\BuildDependencies\msys64 C:\msys64 build_script: @@ -44,10 +43,10 @@ build_script: # Download precompiled mingw32 libraries # To run make-mingwlibs.bat on AppVeyor takes too long, # we must use precompiled libs to speed up build - bash -c "curl http://repo.msys2.org/mingw/i686/mingw-w64-i686-ffmpeg-3.1.1-1-any.pkg.tar.xz | tar xJv" - bash -c "curl http://repo.msys2.org/mingw/i686/mingw-w64-i686-libdvdcss-1.4.0-1-any.pkg.tar.xz | tar xJv" - bash -c "curl http://repo.msys2.org/mingw/i686/mingw-w64-i686-libdvdnav-5.0.3-1-any.pkg.tar.xz | tar xJv" - bash -c "curl http://repo.msys2.org/mingw/i686/mingw-w64-i686-libdvdread-5.0.3-1-any.pkg.tar.xz | tar xJv" + bash -c "wget -O - http://repo.msys2.org/mingw/i686/mingw-w64-i686-ffmpeg-3.1.1-1-any.pkg.tar.xz | tar xJv" + bash -c "wget -O - http://repo.msys2.org/mingw/i686/mingw-w64-i686-libdvdcss-1.4.0-1-any.pkg.tar.xz | tar xJv" + bash -c "wget -O - http://repo.msys2.org/mingw/i686/mingw-w64-i686-libdvdnav-5.0.3-1-any.pkg.tar.xz | tar xJv" + bash -c "wget -O - http://repo.msys2.org/mingw/i686/mingw-w64-i686-libdvdread-5.0.3-1-any.pkg.tar.xz | tar xJv" # Rename all precompiled lib*.dll.a -> *.lib, so MSVC will find them Get-ChildItem mingw32\lib\lib*.dll.a | %{ $new_name = $_.Name.SubString(3) -replace ".dll.a", ".lib" |