-
Notifications
You must be signed in to change notification settings - Fork 74
/
appveyor.yml
62 lines (52 loc) · 1.42 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
os: Visual Studio 2015
version: 1.0.0.{build}
clone_folder: c:\projects\gtest-runner
branches:
except:
- documentation
configuration:
- Debug
- Release
environment:
matrix:
- VS_GEN: Visual Studio 12 2013
QTDIR: C:\Qt\5.6\msvc2013
EXT: win32
- VS_GEN: Visual Studio 12 2013 Win64
QTDIR: C:\Qt\5.6\msvc2013_64
EXT: win64
global:
PWD:
secure: 9z2ZbAlRhD7hRqEYrmxNMg==
matrix:
fast_finish: true
install:
- set PATH=%PATH%;%QTDIR%\bin;"c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\"
build_script:
- md build
- cd build
- cmake -Wno-dev -G"%VS_GEN%" ..
- cmake --build . --config %CONFIGURATION%
- cmake --build . --target PACKAGE --config %CONFIGURATION%
- cd ..
after_build:
- sign.bat
artifacts:
- path: build\$(configuration)\gtest-runner-$(appveyor_repo_tag_name)-$(EXT).exe
name: windows_installer
- path: build\$(configuration)\gtest-runner-$(appveyor_repo_tag_name)-$(EXT).zip
name: windows_portable
type: zip
deploy:
tag: $(appveyor_repo_tag_name)
description: windows binaries
provider: GitHub
auth_token:
secure: FtWS/a/Vb7xeJrcZYs+9AtDnQ3aNqfL56NnjMYFvwokdPUP4qo4BImfPFr4H67A6
artifact: windows_installer,windows_portable
draft: false
prerelease: false
on:
branch: master # release from master branch only
configuration: Release
appveyor_repo_tag: true # deploy on tag push only