appveyor: simplify and preserve paths
[opus.git] / .appveyor.yml
1 image: Visual Studio 2015
2 configuration:
3 - Debug
4 - DebugDLL
5 - DebugDLL_fixed
6 - Release
7 - ReleaseDLL
8 - ReleaseDLL_fixed
9
10 platform:
11 - Win32
12 - x64
13
14 build:
15   project: win32\VS2015\opus.sln
16   parallel: true
17   verbosity: minimal
18
19 after_build:
20 - cd %APPVEYOR_BUILD_FOLDER%
21 - 7z a opus.zip win32\VS2015\%PLATFORM%\%CONFIGURATION%\opus.??? include\*.h
22
23 test_script:
24 - cd %APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%
25 - test_opus_api.exe
26 - test_opus_decode.exe
27 - test_opus_encode.exe
28
29 artifacts:
30 - path: opus.zip