• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1image: Visual Studio 2015
2configuration:
3- Debug
4- Release
5
6platform:
7- Win32
8- x64
9
10environment:
11  matrix:
12  - BUILD_SYSTEM: MSVC
13  - BUILD_SYSTEM: CMAKE
14
15build_script:
16  - if "%BUILD_SYSTEM%" == "MSVC" (
17      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%
18    )
19  - if "%BUILD_SYSTEM%" == "CMAKE" (
20      mkdir "%APPVEYOR_BUILD_FOLDER%\build" &&
21      pushd "%APPVEYOR_BUILD_FOLDER%\build" &&
22      cmake -A "%PLATFORM%" -G "Visual Studio 14 2015" .. &&
23      cmake --build . --config "%CONFIGURATION%" -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" &&
24      popd
25    )
26
27after_build:
28  - if "%BUILD_SYSTEM%" == "MSVC" (
29      7z a ogg.zip win32\VS2015\%PLATFORM%\%CONFIGURATION%\libogg.lib include\ogg\*.h
30    )
31
32artifacts:
33- path: ogg.zip
34