Skip to content

Commit 24fa00d

Browse files
authored
[WIP] Add new GC Standalone pipeline (#54024)
* Add new GC Regions pipeline * removing osx legs from standalone.
1 parent c2bd3ca commit 24fa00d

File tree

4 files changed

+57
-1
lines changed

4 files changed

+57
-1
lines changed

eng/pipelines/common/templates/runtimes/run-test-job.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,9 @@ jobs:
486486
gcSimulatorTests: true
487487
scenarios:
488488
- normal
489+
${{ if in(parameters.testGroup, 'gc-standalone') }}:
490+
scenarios:
491+
- gcstandalone
489492
${{ if in(parameters.testGroup, 'jitelthookenabled') }}:
490493
scenarios:
491494
- jitelthookenabled
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
trigger: none
2+
3+
schedules:
4+
- cron: "0 5 * * *"
5+
displayName: Mon through Sun at 9:00 PM (UTC-8:00)
6+
branches:
7+
include:
8+
- main
9+
always: true
10+
11+
jobs:
12+
13+
- template: /eng/pipelines/common/platform-matrix.yml
14+
parameters:
15+
jobTemplate: /eng/pipelines/common/build-coreclr-and-libraries-job.yml
16+
buildConfig: checked
17+
platforms:
18+
- Linux_arm64
19+
- windows_arm64
20+
- windows_x64
21+
- CoreClrTestBuildHost # Either OSX_x64 or Linux_x64
22+
jobParameters:
23+
testGroup: gc-standalone
24+
25+
- template: /eng/pipelines/common/platform-matrix.yml
26+
parameters:
27+
jobTemplate: /eng/pipelines/common/templates/runtimes/build-test-job.yml
28+
buildConfig: checked
29+
platforms:
30+
- CoreClrTestBuildHost # Either OSX_x64 or Linux_x64
31+
jobParameters:
32+
testGroup: gc-standalone
33+
liveLibrariesBuildConfig: Release
34+
35+
- template: /eng/pipelines/common/platform-matrix.yml
36+
parameters:
37+
jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml
38+
buildConfig: checked
39+
platforms:
40+
- Linux_arm64
41+
- Linux_x64
42+
- windows_arm64
43+
- windows_x64
44+
helixQueueGroup: ci
45+
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
46+
jobParameters:
47+
testGroup: gc-standalone
48+
displayNameArgs: GCStandAlone
49+
liveLibrariesBuildConfig: Release

eng/pipelines/coreclr/templates/xplat-pipeline-job.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ jobs:
129129
value: ''
130130

131131
# 'innerloop' and 'clrinterpreter' jobs run the Priority 0 tests; everything else runs the Priority 1 tests.
132-
- ${{ if and(ne(parameters.testGroup, 'innerloop'), ne(parameters.testGroup, 'clrinterpreter')) }}:
132+
# 'gc-standalone' is forced to run pri0 as well to start with.
133+
- ${{ if and(ne(parameters.testGroup, 'innerloop'), ne(parameters.testGroup, 'clrinterpreter'), ne(parameters.testGroup, 'gc-standalone')) }}:
133134
- ${{ if ne(parameters.osGroup, 'windows') }}:
134135
- name: priorityArg
135136
value: 'priority1'

src/tests/Common/testenvironment.proj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
COMPlus_FeatureSIMD;
3939
COMPlus_ForceRelocs;
4040
COMPlus_GCStress;
41+
COMPlus_GCName;
4142
COMPlus_HeapVerify;
4243
COMPlus_JITMinOpts;
4344
COMPlus_JitELTHookEnabled;
@@ -155,6 +156,8 @@
155156
<TestEnvironment Include="defaultpgo" TieredPGO="1" TieredCompilation="1" />
156157
<TestEnvironment Include="dynamicpgo" TieredPGO="1" TieredCompilation="1" TC_QuickJitForLoops="1" />
157158
<TestEnvironment Include="fullpgo" TieredPGO="1" TieredCompilation="1" TC_QuickJitForLoops="1" ReadyToRun="0"/>
159+
<TestEnvironment Include="gcstandalone" Condition="'$(TargetsWindows)' == 'true'" GCName="clrgc.dll"/>
160+
<TestEnvironment Include="gcstandalone" Condition="'$(TargetsWindows)' != 'true'" GCName="libclrgc.so"/>
158161
</ItemGroup>
159162

160163
<!-- We use target batching on the COMPlusVariable items to iterate over the all COMPlus_* environment variables

0 commit comments

Comments
 (0)