ref: 3d431ff8efb44fc5cf73d2a1a4b2a11927c8e46f
parent: bd48e3fe8abafe40357ee9e2942aa94f4672215c
author: Ricardo Constantino <wiiaboo@gmail.com>
date: Wed Jan 3 17:53:49 EST 2018
appveyor: use opus artifacts instead of compiling it
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -8,11 +8,15 @@
- Win32
- x64
+environment:
+ opus_url: https://ci.appveyor.com/api/projects/$(APPVEYOR_ACCOUNT_NAME)/opus/artifacts/opus.zip
+
install:
- cd %APPVEYOR_BUILD_FOLDER%\..
-- git clone -q https://github.com/xiph/opus.git opus
+- 'curl -LOG --data-urlencode "job=Configuration: %CONFIGURATION:-NoHTTP=%; Platform: %PLATFORM%" %OPUS_URL%'
+- 7z x opus.zip -oopus-artifacts
+- move /Y opus-artifacts opus
- git clone -q https://github.com/xiph/ogg.git ogg
-- msbuild opus\win32\VS2015\opus.vcxproj /p:Configuration=%CONFIGURATION:-NoHTTP=%;Platform=%PLATFORM% /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild ogg\win32\VS2015\libogg_static.sln /p:Configuration=%CONFIGURATION:-NoHTTP=%;Platform=%PLATFORM% /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% git clone -q --branch=OpenSSL_1_0_2-stable https://github.com/openssl/openssl.git openssl
- ps: >-