forked from unoplatform/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vsts-ci.yml
128 lines (106 loc) · 3.28 KB
/
.vsts-ci.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
trigger:
branches:
include:
- master
- release/beta/*
- release/stable/*
- feature/*
pr:
branches:
include:
- master
- release/beta/*
- release/stable/*
- feature/*
paths:
include:
- '/'
exclude:
- .dependabot/
- .github/
- '*.md'
- .all-contributorsrc
resources:
containers:
- container: nv-bionic-wasm
image: unoplatform/wasm-build:3.0
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
windows2019HostedVMImage: 'windows-2019'
windows2022HostedVMImage: 'windows-2022'
windowsScaledPool: 'Windows2022-20211130'
linuxVMImage: 'ubuntu-latest'
macOSVMImage: 'macOS-11'
macOSVMImage_UITests: 'macOS-10.15'
xCodeRoot: '/Applications/Xcode_13.1.app'
XamarinSDKVersion: 6_12_7
xCodeRoot_iOS_UITests: '/Applications/Xcode_11.5.app'
XamarinSDKVersion_iOS_UITests: 6_10_0
jobs:
- template: build/ci/.azure-devops-commitsar.yml
parameters:
vmImage: '$(linuxVMImage)'
- template: build/ci/.azure-devops-pipeline-validations.yml
parameters:
vmImage: '$(linuxVMImage)'
- template: build/ci/.azure-devops-package-generic.yml
parameters:
poolName: '$(windowsScaledPool)'
- template: build/ci/.azure-devops-package-net6-win.yml
parameters:
poolName: '$(windowsScaledPool)'
- template: build/ci/.azure-devops-package.yml
parameters:
poolName: '$(windowsScaledPool)'
- template: build/ci/.azure-devops-project-template-tests.yml
parameters:
vmImageWindows: '$(windows2022HostedVMImage)'
vmImageLinux: '$(linuxVMImage)'
- template: build/ci/.azure-devops-uap.yml
parameters:
vmImage: '$(windows2022HostedVMImage)'
- template: build/ci/.azure-devops-unit-tests.yml
parameters:
vmImage: '$(windows2022HostedVMImage)'
- template: build/ci/.azure-devops-skia-tests.yml
parameters:
vmImage: '$(windows2022HostedVMImage)'
vmMacImage: '$(macOSVMImage)'
poolName: '$(windows2022HostedVMImage)'
- template: build/ci/.azure-devops-docs.yml
parameters:
vmImage: '$(windows2022HostedVMImage)'
- template: build/ci/.azure-devops-samplesapp-uitests-build.yml
parameters:
vmImage: '$(windows2022HostedVMImage)'
- template: build/ci/.azure-devops-wasm-uitests.yml
parameters:
vmImage: '$(linuxVMImage)'
- template: build/ci/.azure-devops-wasm-cs9-preview-validation.yml
parameters:
vmImage: '$(linuxVMImage)'
- template: build/ci/.azure-devops-macos.yml
parameters:
vmImage: '$(macOSVMImage)'
xCodeRoot: '$(xCodeRoot)'
XamarinSDKVersion: '$(XamarinSDKVersion)'
- template: build/ci/.azure-devops-android-tests.yml
parameters:
vmWindowsImage: '$(windows2019HostedVMImage)'
vmMacOSImage: '$(macOSVMImage)'
xCodeRoot: '$(xCodeRoot)'
XamarinSDKVersion: '$(XamarinSDKVersion)'
- template: build/ci/.azure-devops-ios-tests.yml
parameters:
vmImage: '$(macOSVMImage)'
vmImageTest: '$(macOSVMImage_UITests)'
xCodeRootBuild: '$(xCodeRoot)'
XamarinSDKVersionBuild: '$(XamarinSDKVersion)'
xCodeRootTest: '$(xCodeRoot_iOS_UITests)'
XamarinSDKVersionTest: '$(XamarinSDKVersion_iOS_UITests)'
- template: build/ci/.azure-devops-screenshot-compare.yml
parameters:
vmImage: '$(windows2022HostedVMImage)'
- template: build/ci/.azure-devops-vs2022-vsix.yml
parameters:
vmImage: '$(windows2022HostedVMImage)'