提交 e99c06ad 编写于 作者: J juvester

CI: Retry failed downloads

If all retries fail, stop the build.
上级 f86c538a
# Exit if something fails
set -e
# Leave obs-studio folder
cd ../
curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/Packages.pkg
curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/Packages.pkg -f --retry 5 -C -
sudo installer -pkg ./Packages.pkg -target /
brew update
......@@ -9,14 +12,14 @@ brew update
#Base OBS Deps
brew install qt5
curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/osx-deps.tar.gz
curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/osx-deps.tar.gz -f --retry 5 -C -
tar -xf ./osx-deps.tar.gz -C /tmp
curl -L -o vlc-master.zip https://github.com/videolan/vlc/archive/master.zip
curl -L -o vlc-master.zip https://github.com/videolan/vlc/archive/master.zip -f --retry 5 -C -
unzip -q ./vlc-master.zip
# CEF Stuff
curl -kLO http://opensource.spotify.com/cefbuilds/cef_binary_3.2883.1540.gedbfb20_macosx64.tar.bz2
curl -kLO http://opensource.spotify.com/cefbuilds/cef_binary_3.2883.1540.gedbfb20_macosx64.tar.bz2 -f --retry 5 -C -
tar -xf ./cef_binary_3.2883.1540.gedbfb20_macosx64.tar.bz2
cd ./cef_binary_3.2883.1540.gedbfb20_macosx64
mkdir build
......
......@@ -4,7 +4,7 @@ environment:
install:
- git submodule update --init --recursive
- git clone https://github.com/videolan/vlc.git
- curl -kLO https://obsproject.com/downloads/dependencies2015.zip
- curl -kLO https://obsproject.com/downloads/dependencies2015.zip -f --retry 5 -C -
- 7z x dependencies2015.zip -odependencies2015
- set DepsPath32=%CD%\dependencies2015\win32
- set DepsPath64=%CD%\dependencies2015\win64
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册