forked from Easy2D/Easy2D
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
121 lines (103 loc) · 2.66 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
version: 2.1.{build}
skip_tags: true
# fetch repository as zip archive
shallow_clone: true
pull_requests:
do_not_increment_build_number: true
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
environment:
global:
time_out_mins: 5
flag_to_deploy: false
appveyor_api_token:
secure: UJFCbRNHMOqQg3e3Kv/ZnaIqqwXAt+5HDldetaZsZ5E=
OSS_ENDPOINT: oss-cn-hangzhou.aliyuncs.com
OSS_ACCESS_KEY_ID:
secure: afjmag78Qn/7T4bBflh/h8x1VISALmN9LdOY7yPsvJQ=
OSS_ACCESS_KEY_SECRET:
secure: Au2pBgQlxDJeujGzedsqdB/ItX0yusCbIxJK0KPZjjI=
matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails
# allow_failures:
# - platform: x86
# configuration: Debug
skip_commits:
message: /\[chore\]/
only_commits:
files:
- Easy2D/
- scripts/
- appveyor.yml
for:
-
branches:
only:
- master
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
VS_PLATFORM_TOOLSET: v140
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
VS_PLATFORM_TOOLSET: v141
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VS_PLATFORM_TOOLSET: v142
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
VS_PLATFORM_TOOLSET: v143
global:
job_to_deploy: 32 # 4(images) * 2(platform) * 4(configuration)
-
branches:
except:
- master
# only_commits:
# message: /\[build\]/
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
VS_PLATFORM_TOOLSET: v140
global:
job_to_deploy: 4 # 1(images) * 2(platform) * 2(configuration)
configuration:
- Debug
- Release
- DebugWin7
- ReleaseWin7
platform:
- x86
- x64
# cache: packages/
before_build:
- ps: .\scripts\appveyor\clear_project_configuration.ps1
build:
project: Easy2D.sln
verbosity: minimal
parallel: true
after_build:
- ps: .\scripts\appveyor\package_artifacts.ps1
artifacts:
- path: Easy2D/output/**/*.lib
name: libeasy2d-$(VS_PLATFORM_TOOLSET)-$(PLATFORM)-$(CONFIGURATION)
- path: Easy2D/output-win7/**/*.lib
name: libeasy2d-win7-$(VS_PLATFORM_TOOLSET)-$(PLATFORM)-$(CONFIGURATION)
deploy:
- provider: GitHub
repository: Easy2D/Easy2D
tag: v$(APPVEYOR_BUILD_VERSION)
release: v$(APPVEYOR_BUILD_VERSION)
description: Easy2D-v$(APPVEYOR_BUILD_VERSION) releases.
auth_token:
secure: 8u4p+GFzlf/lR26bvU+h/GCfmFT34MLdSyNQNjhj5xYzObAJRLqg77aOVl8J/fuf
artifact: /.*\.(exe|7z|zip)/
draft: true
on:
branch: master
# APPVEYOR_REPO_TAG: true
flag_to_deploy: true
notifications:
- provider: Email
to:
on_build_success: true
on_build_failure: true
on_build_status_changed: false