Skip to content

Commit d3b4005

Browse files
authored
Move JIT/HardwareIntrinsics tests to run in Pri1 (#121145)
1 parent 45918cb commit d3b4005

File tree

3 files changed

+143
-1
lines changed

3 files changed

+143
-1
lines changed
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
trigger: none
2+
pr:
3+
branches:
4+
include:
5+
- main
6+
paths:
7+
include:
8+
- eng/pipelines/**
9+
- src/coreclr/jit/**
10+
- src/tests/Common/GenerateHWIntrinsicTests/**
11+
- src/tests/JIT/HardwareIntrinsics/**
12+
13+
variables:
14+
- template: /eng/pipelines/common/variables.yml
15+
16+
extends:
17+
template: /eng/pipelines/common/templates/pipeline-with-resources.yml
18+
parameters:
19+
isOfficialBuild: false
20+
stages:
21+
- stage: Build
22+
jobs:
23+
- template: /eng/pipelines/common/platform-matrix.yml
24+
parameters:
25+
jobTemplate: /eng/pipelines/common/global-build-job.yml
26+
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
27+
buildConfig: Release
28+
platforms:
29+
- windows_x86
30+
- windows_x64
31+
variables:
32+
- name: timeoutPerTestInMinutes
33+
value: 60
34+
- name: timeoutPerTestCollectionInMinutes
35+
value: 180
36+
jobParameters:
37+
testGroup: outerloop
38+
nameSuffix: CoreCLR
39+
buildArgs: -s clr+libs -c $(_BuildConfig)
40+
timeoutInMinutes: 360
41+
postBuildSteps:
42+
- template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml
43+
parameters:
44+
creator: dotnet-bot
45+
testBuildArgs: 'tree JIT/HardwareIntrinsics'
46+
testRunNamePrefixSuffix: CoreCLR
47+
extraVariablesTemplates:
48+
- template: /eng/pipelines/common/templates/runtimes/test-variables.yml
49+
parameters:
50+
testGroup: outerloop
51+
52+
- template: /eng/pipelines/common/platform-matrix.yml
53+
parameters:
54+
jobTemplate: /eng/pipelines/common/global-build-job.yml
55+
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
56+
buildConfig: Release
57+
platforms:
58+
- linux_arm
59+
- linux_x64
60+
- osx_arm64
61+
variables:
62+
- name: timeoutPerTestInMinutes
63+
value: 60
64+
- name: timeoutPerTestCollectionInMinutes
65+
value: 180
66+
jobParameters:
67+
testGroup: outerloop
68+
nameSuffix: CoreCLR
69+
buildArgs: -s clr+libs -c $(_BuildConfig)
70+
timeoutInMinutes: 360
71+
postBuildSteps:
72+
- template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml
73+
parameters:
74+
creator: dotnet-bot
75+
testBuildArgs: '-tree:JIT/HardwareIntrinsics'
76+
testRunNamePrefixSuffix: CoreCLR
77+
extraVariablesTemplates:
78+
- template: /eng/pipelines/common/templates/runtimes/test-variables.yml
79+
parameters:
80+
testGroup: outerloop
81+
82+
- template: /eng/pipelines/common/platform-matrix.yml
83+
parameters:
84+
jobTemplate: /eng/pipelines/common/global-build-job.yml
85+
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
86+
buildConfig: Release
87+
platforms:
88+
- windows_x86
89+
- windows_x64
90+
variables:
91+
- name: timeoutPerTestInMinutes
92+
value: 60
93+
- name: timeoutPerTestCollectionInMinutes
94+
value: 180
95+
jobParameters:
96+
testGroup: outerloop
97+
nameSuffix: NativeAOT
98+
buildArgs: -s clr.aot+libs.native+libs.sfx -c $(_BuildConfig)
99+
timeoutInMinutes: 360
100+
postBuildSteps:
101+
- template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml
102+
parameters:
103+
creator: dotnet-bot
104+
testBuildArgs: 'tree JIT/HardwareIntrinsics'
105+
testRunNamePrefixSuffix: NativeAOT
106+
nativeAotTest: true
107+
extraVariablesTemplates:
108+
- template: /eng/pipelines/common/templates/runtimes/test-variables.yml
109+
parameters:
110+
testGroup: outerloop
111+
112+
- template: /eng/pipelines/common/platform-matrix.yml
113+
parameters:
114+
jobTemplate: /eng/pipelines/common/global-build-job.yml
115+
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
116+
buildConfig: Release
117+
platforms:
118+
- linux_arm
119+
- linux_x64
120+
- osx_arm64
121+
variables:
122+
- name: timeoutPerTestInMinutes
123+
value: 60
124+
- name: timeoutPerTestCollectionInMinutes
125+
value: 180
126+
jobParameters:
127+
testGroup: outerloop
128+
nameSuffix: NativeAOT
129+
buildArgs: -s clr.aot+libs.native+libs.sfx -c $(_BuildConfig)
130+
timeoutInMinutes: 360
131+
postBuildSteps:
132+
- template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml
133+
parameters:
134+
creator: dotnet-bot
135+
testBuildArgs: '-tree:JIT/HardwareIntrinsics'
136+
testRunNamePrefixSuffix: NativeAOT
137+
nativeAotTest: true
138+
extraVariablesTemplates:
139+
- template: /eng/pipelines/common/templates/runtimes/test-variables.yml
140+
parameters:
141+
testGroup: outerloop

eng/pipelines/runtime.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ extends:
604604
- template: /eng/pipelines/coreclr/nativeaot-post-build-steps.yml
605605
parameters:
606606
creator: dotnet-bot
607-
testBuildArgs: 'nativeaot tree ";nativeaot;Loader;Interop;JIT/HardwareIntrinsics;" /p:BuildNativeAotFrameworkObjects=true'
607+
testBuildArgs: 'nativeaot tree ";nativeaot;Loader;Interop;" /p:BuildNativeAotFrameworkObjects=true'
608608
liveLibrariesBuildConfig: Release
609609
testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)
610610
extraVariablesTemplates:

src/tests/JIT/HardwareIntrinsics/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
<PropertyGroup>
1010
<RunAnalyzers>true</RunAnalyzers>
1111
<EnableNETAnalyzers>false</EnableNETAnalyzers>
12+
<CLRTestPriority>1</CLRTestPriority>
1213
</PropertyGroup>
1314
</Project>

0 commit comments

Comments
 (0)