forked from HIT-SCIR/ltp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (29 loc) · 818 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
branches:
only:
- 3.X
environment:
P: "c:/projects/libs"
# clone directory
clone_folder: c:\projects\ltp
os: Visual Studio 2015
platform:
- x86
- x64
configuration:
- Debug
- Release
install:
# by default, all script lines are interpreted as batch
build:
project: ALL_BUILD.vcxproj # path to Visual Studio solution or project
# scripts to run before build
before_build:
- echo Running cmake...
- cd c:\projects\ltp
- cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=%P%
after_build:
- cd c:\projects\ltp
- 7z a ltp-win-%PLATFORM%-%CONFIGURATION%.zip bin\examples\%CONFIGURATION%\*_cmdline.exe bin\%CONFIGURATION%\ltp_test.exe lib\%CONFIGURATION%\*.dll
artifacts:
- path: ltp-win-$(platform)-$(configuration).zip
name: ltp-win-$(platform)-$(configuration).zip