55
55
- template : /eng/pipelines/common/evaluate-default-paths.yml
56
56
57
57
#
58
- # iOS/tvOS/Catalyst interp - requires AOT Compilation and Interp flags
58
+ # iOS/tvOS interp - requires AOT Compilation and Interp flags
59
59
# Build the whole product using Mono and run libraries tests
60
60
#
61
61
- template : /eng/pipelines/common/platform-matrix.yml
@@ -65,12 +65,10 @@ jobs:
65
65
buildConfig : Release
66
66
runtimeFlavor : mono
67
67
platforms :
68
- - MacCatalyst_x64
69
68
- iOSSimulator_x64
70
69
- tvOSSimulator_x64
71
70
# don't run tests on arm64 PRs until we can get significantly more devices
72
71
- ${{ if eq(variables['isFullMatrix'], true) }} :
73
- - MacCatalyst_arm64
74
72
- iOSSimulator_arm64
75
73
variables :
76
74
# map dependencies variables to local variables
@@ -101,6 +99,94 @@ jobs:
101
99
eq(variables['monoContainsChange'], true),
102
100
eq(variables['isFullMatrix'], true))
103
101
102
+ #
103
+ # MacCatalyst interp - requires AOT Compilation and Interp flags
104
+ # Build the whole product using Mono and run libraries tests
105
+ #
106
+ - template : /eng/pipelines/common/platform-matrix.yml
107
+ parameters :
108
+ jobTemplate : /eng/pipelines/common/global-build-job.yml
109
+ helixQueuesTemplate : /eng/pipelines/libraries/helix-queues-setup.yml
110
+ buildConfig : Release
111
+ runtimeFlavor : mono
112
+ platforms :
113
+ - MacCatalyst_x64
114
+ # don't run tests on arm64 PRs until we can get significantly more devices
115
+ - ${{ if eq(variables['isFullMatrix'], true) }} :
116
+ - MacCatalyst_arm64
117
+ variables :
118
+ # map dependencies variables to local variables
119
+ - name : librariesContainsChange
120
+ value : $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]
121
+ - name : monoContainsChange
122
+ value : $[ dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'] ]
123
+ jobParameters :
124
+ testGroup : innerloop
125
+ nameSuffix : AllSubsets_Mono
126
+ buildArgs : -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:DevTeamProvisioning=adhoc /p:RunAOTCompilation=true /p:MonoForceInterpreter=true /p:BuildDarwinFrameworks=true
127
+ timeoutInMinutes : 180
128
+ condition : >-
129
+ or(
130
+ eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),
131
+ eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
132
+ eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true),
133
+ eq(variables['isFullMatrix'], true))
134
+ # extra steps, run tests
135
+ extraStepsTemplate : /eng/pipelines/libraries/helix.yml
136
+ extraStepsParameters :
137
+ creator : dotnet-bot
138
+ interpreter : true
139
+ testRunNamePrefixSuffix : Mono_$(_BuildConfig)
140
+ condition : >-
141
+ or(
142
+ eq(variables['librariesContainsChange'], true),
143
+ eq(variables['monoContainsChange'], true),
144
+ eq(variables['isFullMatrix'], true))
145
+
146
+ #
147
+ # iOS/tvOS devices - Full AOT + AggressiveTrimming to reduce size
148
+ # Build the whole product using Mono and run libraries tests
149
+ #
150
+ - template : /eng/pipelines/common/platform-matrix.yml
151
+ parameters :
152
+ jobTemplate : /eng/pipelines/common/global-build-job.yml
153
+ helixQueuesTemplate : /eng/pipelines/libraries/helix-queues-setup.yml
154
+ buildConfig : Release
155
+ runtimeFlavor : mono
156
+ platforms :
157
+ # don't run tests on arm64 PRs until we can get significantly more devices
158
+ - ${{ if eq(variables['isFullMatrix'], true) }} :
159
+ - iOS_arm64
160
+ - tvOS_arm64
161
+ variables :
162
+ # map dependencies variables to local variables
163
+ - name : librariesContainsChange
164
+ value : $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]
165
+ - name : monoContainsChange
166
+ value : $[ dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'] ]
167
+ jobParameters :
168
+ testGroup : innerloop
169
+ nameSuffix : AllSubsets_Mono
170
+ buildArgs : -s mono+libs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:DevTeamProvisioning=- /p:RunAOTCompilation=true /p:EnableAggressiveTrimming=true /p:BuildDarwinFrameworks=true
171
+ timeoutInMinutes : 180
172
+ condition : >-
173
+ or(
174
+ eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),
175
+ eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true),
176
+ eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true),
177
+ eq(variables['isFullMatrix'], true))
178
+ # extra steps, run tests
179
+ extraStepsTemplate : /eng/pipelines/libraries/helix.yml
180
+ extraStepsParameters :
181
+ creator : dotnet-bot
182
+ interpreter : true
183
+ testRunNamePrefixSuffix : Mono_$(_BuildConfig)
184
+ condition : >-
185
+ or(
186
+ eq(variables['librariesContainsChange'], true),
187
+ eq(variables['monoContainsChange'], true),
188
+ eq(variables['isFullMatrix'], true))
189
+
104
190
#
105
191
# Build the whole product using Mono and run libraries tests
106
192
#
0 commit comments