ref: 3149f9d0b89ee46068f0adb40531bd80a081516c
parent: 644bae456d602c999b5ad0872647238f17fe9f6b
author: Ricardo Constantino <[email protected]>
date: Thu Feb 9 19:58:55 EST 2017
appveyor: simplify and preserve paths Artifact with preserved paths is more useful for CI. Signed-off-by: Ralph Giles <[email protected]>
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -17,26 +17,14 @@
verbosity: minimal
after_build:
-- cmd: >-
- mkdir %APPVEYOR_BUILD_FOLDER%\artifacts
+- cd %APPVEYOR_BUILD_FOLDER%
+- 7z a opus.zip win32\VS2015\%PLATFORM%\%CONFIGURATION%\opus.??? include\*.h
- 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: >-
- cd %APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%
-
- test_opus_api.exe
-
- test_opus_decode.exe
-
- test_opus_encode.exe
+- cd %APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION%
+- test_opus_api.exe
+- test_opus_decode.exe
+- test_opus_encode.exe
artifacts:
- path: opus.zip