appveyor.yml 932 B

12345678910111213141516171819202122232425262728293031323334
  1. image: Visual Studio 2015
  2. configuration:
  3. - Debug
  4. - Release
  5. platform:
  6. - Win32
  7. - x64
  8. environment:
  9. matrix:
  10. - BUILD_SYSTEM: MSVC
  11. - BUILD_SYSTEM: CMAKE
  12. build_script:
  13. - if "%BUILD_SYSTEM%" == "MSVC" (
  14. msbuild "%APPVEYOR_BUILD_FOLDER%\win32\VS2015\libogg.sln" /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:Configuration=%CONFIGURATION%;Platform=%PLATFORM%
  15. )
  16. - if "%BUILD_SYSTEM%" == "CMAKE" (
  17. mkdir "%APPVEYOR_BUILD_FOLDER%\build" &&
  18. pushd "%APPVEYOR_BUILD_FOLDER%\build" &&
  19. cmake -A "%PLATFORM%" -G "Visual Studio 14 2015" .. &&
  20. cmake --build . --config "%CONFIGURATION%" -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
  21. popd
  22. )
  23. after_build:
  24. - if "%BUILD_SYSTEM%" == "MSVC" (
  25. 7z a ogg.zip win32\VS2015\%PLATFORM%\%CONFIGURATION%\libogg.lib include\ogg\*.h
  26. )
  27. artifacts:
  28. - path: ogg.zip