From b9eb6cb92d95123d832df54e8c57e9df4a8486b9 Mon Sep 17 00:00:00 2001 From: Yijia Liu Date: Thu, 5 May 2016 09:55:01 +0800 Subject: [PATCH] zip and artifacts, use vs 2015 only --- appveyor.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index e210d7502..63af5e9f6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,9 +4,7 @@ environment: # clone directory clone_folder: c:\projects\ltp -os: - - Visual Studio 2013 - - Visual Studio 2015 +os: Visual Studio 2015 platform: - x86 @@ -26,4 +24,11 @@ build: before_build: - echo Running cmake... - cd c:\projects\ltp - - cmake -G "Visual Studio 12 2013 Win64" -DCMAKE_INSTALL_PREFIX=%P% + - cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=%P% + +after_build: + - 7z a ltp-win-$(platform)-$(configuration).zip bin\examples\$(configuration)\*_cmdline bin\$(configuration)\ltp_test lib\$(configuration)\*.dll + +artifacts: + - path: ltp-win-$(platform)-$(configuration).zip + - name: ltp-win-$(platform)-$(configuration)