forked from smasherprog/screen_capture_lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
41 lines (34 loc) · 968 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
40
41
image: Visual Studio 2017
platform:
- x86
- x64
configuration:
- Debug
- Release
environment:
matrix:
- SHARED: OFF
POSTFIXNAME: MT
- SHARED: ON
POSTFIXNAME: MD
matrix:
fast_finish: true
install:
- mkdir build
- cd build
build_script:
- if %platform%==x86 set generator=Visual Studio 15 2017
- if %platform%==x64 set generator=Visual Studio 15 2017 Win64
- echo %generator% %SHARED% %configuration%
- cmake .. -G"%generator%" -DBUILD_SHARED_LIBS=%SHARED% -DCMAKE_INSTALL_PREFIX=./output
- cmake --build . --target INSTALL --config %configuration%
- 7z a vc140_%configuration%_%PLATFORM%_%POSTFIXNAME%.zip -i!%APPVEYOR_BUILD_FOLDER%\build\output\*
- appveyor PushArtifact vc140_%configuration%_%PLATFORM%_%POSTFIXNAME%.zip
deploy:
provider: GitHub
auth_token:
secure: WCGi6SXwa6VaPyLH6fZCrmTix+e2FA3zwzhNg8dSf3EdrcecGIR3Z0qG/vssOdfA
draft: false
prerelease: false
on:
appveyor_repo_tag: true