configure: Improve error message
[opus.git] / appveyor.yml
index 60035bc..b56b8d6 100644 (file)
@@ -1,15 +1,11 @@
-version: 1.0.{build}
-branches:
-  only:
-  - master
-  - appveyor
-
 image: Visual Studio 2015
 configuration:
 - Debug
 - DebugDLL
+- DebugDLL_fixed
 - Release
 - ReleaseDLL
+- ReleaseDLL_fixed
 
 platform:
 - Win32
@@ -20,10 +16,27 @@ build:
   parallel: true
   verbosity: minimal
 
+after_build:
+- cmd: >-
+    mkdir %APPVEYOR_BUILD_FOLDER%\artifacts
+
+    cd %APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%
+
+    for %%a in (lib dll exp pdb) do if exist opus.%%a copy opus.%%a %APPVEYOR_BUILD_FOLDER%\artifacts\
+
+    cd %APPVEYOR_BUILD_FOLDER%
+
+    7z a opus.zip .\artifacts\* include\*.h
+
 test_script:
 - cmd: >-
-    %APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%\test_opus_api.exe
+    cd %APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%
+
+    test_opus_api.exe
+
+    test_opus_decode.exe
 
-    %APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%\test_opus_decode.exe
+    test_opus_encode.exe
 
-    %APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%\test_opus_encode.exe
\ No newline at end of file
+artifacts:
+- path: opus.zip