Newer
Older
image: Visual Studio 2015
configuration:
- Debug
- Release

Ricardo Constantino (:RiCON)
committed
- Release-NoHTTP
platform:
- Win32
- x64
install:

Ricardo Constantino (:RiCON)
committed
- cd %APPVEYOR_BUILD_FOLDER%\..
- git clone -q https://github.com/xiph/opus.git opus
- git clone -q https://github.com/xiph/ogg.git ogg

Ricardo Constantino (:RiCON)
committed
- 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"

Ricardo Constantino (:RiCON)
committed
- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% git clone -q --branch=OpenSSL_1_0_2-stable https://github.com/openssl/openssl.git openssl

Ricardo Constantino (:RiCON)
committed
- ps: >-
If ($env:Platform -Match "Win32") {
$env:VCVARS_PLATFORM="x86"
$env:OPENSSL_TARGET="VC-WIN32"
$env:DO="do_ms"
} Else {
$env:VCVARS_PLATFORM="amd64"
$env:OPENSSL_TARGET="VC-WIN64A"
$env:DO="do_win64a"
}

Ricardo Constantino (:RiCON)
committed
- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% cd openssl

Ricardo Constantino (:RiCON)
committed
# without prefix, libs end up in out32 for both 32 and 64-bit

Ricardo Constantino (:RiCON)
committed
- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% perl Configure %OPENSSL_TARGET% no-asm --prefix=%CD%\%PLATFORM%\Release
- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% call ms\%DO%
- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% nmake /f ms\nt.mak
- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% nmake /f ms\nt.mak install

Ricardo Constantino (:RiCON)
committed
# prevents warning 4099 on linking

Ricardo Constantino (:RiCON)
committed
- if %CONFIGURATION:-NoHTTP=%==%CONFIGURATION% copy /B tmp32\lib.pdb %CD%\%PLATFORM%\Release\lib\lib.pdb

Ricardo Constantino (:RiCON)
committed
- cd %APPVEYOR_BUILD_FOLDER%
build:
project: win32\VS2015\opusfile.sln
parallel: true
verbosity: minimal
after_build:
- 7z a opusfile.zip win32\VS2015\%PLATFORM%\%CONFIGURATION%\opusfile.lib include\opusfile.h
artifacts:
- path: opusfile.zip