From 644bae456d602c999b5ad0872647238f17fe9f6b Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Fri, 10 Feb 2017 00:53:03 +0000 Subject: appveyor: move to dotfile like travis Less clutter on systems that hide dotfiles. Signed-off-by: Ralph Giles --- .appveyor.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .appveyor.yml (limited to '.appveyor.yml') diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..b56b8d61 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,42 @@ +image: Visual Studio 2015 +configuration: +- Debug +- DebugDLL +- DebugDLL_fixed +- Release +- ReleaseDLL +- ReleaseDLL_fixed + +platform: +- Win32 +- x64 + +build: + project: win32\VS2015\opus.sln + 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: >- + cd %APPVEYOR_BUILD_FOLDER%\win32\VS2015\%PLATFORM%\%CONFIGURATION% + + test_opus_api.exe + + test_opus_decode.exe + + test_opus_encode.exe + +artifacts: +- path: opus.zip -- cgit v1.2.3