forked from sakura-editor/sakura
-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
159 lines (149 loc) · 4.94 KB
/
azure-pipelines.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
###############################################################################################################################
# ビルドトリガー (branch)
#
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&viewFallbackFrom=vsts&tabs=yaml
###############################################################################################################################
trigger:
branches:
include:
- master
- develop
- feature/*
- revert-*
paths:
exclude:
- .github/*
- .gitignore
- .travis.yml
- appveyor.yml
- CHANGELOG.md
- CONTRIBUTING.md
- CPPLINT.md
- README.md
- SonarQube.md
- addDoxygenFileComment.md
- build.md
- create-big-file.md
- debug-tasktray-menu.md
- get-PR.md
- ci/azure-pipelines/azure-pipelines.md
- ci/build-batchfiles.md
- ci/build-envvars.md
- installer/externals/bregonig/README.md
- installer/externals/universal-ctags/README.md
- installer/readme.md
- remove-redundant-blank-lines.md
- tools/find-tools.md
- tools/macro/macro.md
- tools/zip/readme.md
- tests/unittest.md
- vcx-props/project-PlatformToolset.md
###############################################################################################################################
# ビルドトリガー (Pull Request)
#
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml#pull-request-validation
###############################################################################################################################
pr:
branches:
include:
- master
- develop
- feature/*
- revert-*
paths:
exclude:
- .github/*
- .gitignore
- .travis.yml
- appveyor.yml
- CHANGELOG.md
- CONTRIBUTING.md
- CPPLINT.md
- README.md
- SonarQube.md
- addDoxygenFileComment.md
- build.md
- create-big-file.md
- debug-tasktray-menu.md
- get-PR.md
- ci/azure-pipelines/azure-pipelines.md
- ci/build-batchfiles.md
- ci/build-envvars.md
- installer/externals/bregonig/README.md
- installer/externals/universal-ctags/README.md
- installer/readme.md
- remove-redundant-blank-lines.md
- tools/find-tools.md
- tools/macro/macro.md
- tools/zip/readme.md
- tests/unittest.md
- vcx-props/project-PlatformToolset.md
###############################################################################################################################
# jobs/job 定義
#
# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml
###############################################################################################################################
jobs:
# サクラエディタのビルドを行う JOB (VS2017)
# * サクラエディタ本体
# * HTML Help
# * Installer
# * 単体テスト
- template: ci/azure-pipelines/template.job.build-unittest.yml
parameters:
name: VS2017
vmImage: 'VS2017-Win2016'
displayName: VS2017
ARG_VSVERSION: 15
# サクラエディタのビルドを行う JOB (VS2019)
# * サクラエディタ本体
# * HTML Help
# * Installer
# * 単体テスト
# https://devblogs.microsoft.com/devops/hosted-pipelines-announcements-vs-2019-mojave-and-more/
#
- template: ci/azure-pipelines/template.job.build-unittest.yml
parameters:
name: VS2019
vmImage: 'windows-2019'
displayName: VS2019
ARG_VSVERSION: 16
# サクラエディタのビルドを行う JOB(MinGW)
# * サクラエディタ本体
# * 単体テスト
- template: ci/azure-pipelines/template.job.build-on-msys2.yml
parameters:
name: MinGW
vmImage: 'VS2017-Win2016'
displayName: MinGW
# SonarQube で解析を行う JOB
- template: ci/azure-pipelines/template.job.SonarQube.yml
parameters:
name: SonarQube
vmImage: 'VS2017-Win2016'
displayName: SonarQube
# Cppcheck を行う JOB
- template: ci/azure-pipelines/template.job.cppcheck.yml
parameters:
name: cppcheck
vmImage: 'VS2017-Win2016'
displayName: cppcheck
# doxygen を行う JOB
- template: ci/azure-pipelines/template.job.doxygen.yml
parameters:
name: doxygen
vmImage: 'VS2017-Win2016'
displayName: doxygen
# 文字コードのチェックを行う JOB
- template: ci/azure-pipelines/template.job.checkEncoding.yml
parameters:
name: checkEncoding
vmImage: 'VS2017-Win2016'
#############################################################################################################
# Python スクリプトのコンパイル確認を行う job
#############################################################################################################
- template: ci/azure-pipelines/template.job.python-check.yml
parameters:
name: script_check
vmImage: 'VS2017-Win2016'
displayName: script_check