appveyor: pack openssl artifacts with opusfile's
authorRicardo Constantino <wiiaboo@gmail.com>
Wed, 3 Jan 2018 22:42:19 +0000 (22:42 +0000)
committerTimothy B. Terriberry <tterribe@xiph.org>
Mon, 8 Jan 2018 23:38:35 +0000 (15:38 -0800)
Will be useful for opus-tools

.appveyor.yml

index a01b375..81ced7d 100644 (file)
@@ -44,7 +44,11 @@ build:
   verbosity: minimal
 
 after_build:
-- 7z a opusfile.zip win32\VS2015\%PLATFORM%\%CONFIGURATION%\opusfile.lib include\opusfile.h
+- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% copy /B %APPVEYOR_BUILD_FOLDER%\..\openssl\%PLATFORM%\Release\lib\* win32\VS2015\%PLATFORM%\%CONFIGURATION%\
+- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% mkdir include\openssl
+- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% copy /B %APPVEYOR_BUILD_FOLDER%\..\openssl\inc32\openssl include\openssl\
+- 7z a opusfile.zip win32\VS2015\%PLATFORM%\%CONFIGURATION%\opusfile.??? include\
+- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% 7z a opusfile.zip win32\VS2015\%PLATFORM%\%CONFIGURATION%\lib.pdb win32\VS2015\%PLATFORM%\%CONFIGURATION%\*.lib
 
 artifacts:
 - path: opusfile.zip