X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=appveyor.yml;h=158b9e62825becf7bffafa54d6921a7230b6940d;hb=128f0f812b39185d884c67c5f1c780b19aca34ac;hp=8ad0ca9de2b2217fb028cff79c240409b6bfad1d;hpb=151868fb5812f1402c28b0a7f5c5397d5dc6eb09;p=platform%2Fupstream%2Flibvorbis.git diff --git a/appveyor.yml b/appveyor.yml index 8ad0ca9..158b9e6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,23 +10,19 @@ environment: - BUILD_SYSTEM: MSVC - BUILD_SYSTEM: CMAKE -matrix: - allow_failures: - - BUILD_SYSTEM: CMAKE - install: - git clone -q https://github.com/xiph/ogg.git %APPVEYOR_BUILD_FOLDER%\..\libogg - if "%BUILD_SYSTEM%"=="MSVC" msbuild "%APPVEYOR_BUILD_FOLDER%\..\libogg\win32\VS2015\libogg_static.sln" /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:Configuration=%CONFIGURATION%;Platform=%PLATFORM% - if "%BUILD_SYSTEM%"=="CMAKE" mkdir "%APPVEYOR_BUILD_FOLDER%\..\libogg\build" - if "%BUILD_SYSTEM%"=="CMAKE" pushd "%APPVEYOR_BUILD_FOLDER%\..\libogg\build" -- if "%BUILD_SYSTEM%"=="CMAKE" cmake -A "%PLATFORM%" -G "Visual Studio 14 2015" .. -- if "%BUILD_SYSTEM%"=="CMAKE" cmake --build . --config "%CONFIGURATION%" -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" +- if "%BUILD_SYSTEM%"=="CMAKE" cmake -A "%PLATFORM%" -G "Visual Studio 14 2015" -DCMAKE_INSTALL_PREFIX="%APPVEYOR_BUILD_FOLDER%\..\libogg\install" .. +- if "%BUILD_SYSTEM%"=="CMAKE" cmake --build . --config "%CONFIGURATION%" --target install -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" - if "%BUILD_SYSTEM%"=="CMAKE" popd before_build: - if "%BUILD_SYSTEM%" == "CMAKE" mkdir "%APPVEYOR_BUILD_FOLDER%\build" - if "%BUILD_SYSTEM%" == "CMAKE" pushd "%APPVEYOR_BUILD_FOLDER%\build" -- if "%BUILD_SYSTEM%" == "CMAKE" cmake -A "%PLATFORM%" -G "Visual Studio 14 2015" .. +- if "%BUILD_SYSTEM%" == "CMAKE" cmake -A "%PLATFORM%" -G "Visual Studio 14 2015" -DOGG_ROOT=%APPVEYOR_BUILD_FOLDER%\..\libogg\install .. - if "%BUILD_SYSTEM%" == "CMAKE" popd build_script: