@@ -461,7 +461,7 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def
461
461
// addEmailPublisher(job, 'dotnetgctests@microsoft.com')
462
462
break
463
463
case ' standalone_gc' :
464
- assert (os == ' Windows_NT' )
464
+ assert (os == ' Ubuntu ' || os == ' Windows_NT' || os == ' OSX ' )
465
465
assert (configuration == ' Release' || configuration == ' Checked' )
466
466
// TODO: Add once external email sending is available again
467
467
// addEmailPublisher(job, 'dotnetgctests@microsoft.com')
@@ -1541,6 +1541,11 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
1541
1541
" (?i).*test\\ W+${ os} \\ W+${ arch} \\ W+${ jit} \\ W+${ configuration} \\ W+${ scenario} .*" )
1542
1542
}
1543
1543
break
1544
+ case ' standalone_gc' :
1545
+ if (configuration == ' Release' || configuration == ' Checked' ) {
1546
+ Utilities . addGithubPRTriggerForBranch(job, branch, " ${ os} ${ architecture} ${ configuration} Standalone GC" , " (?i).*test\\ W+${ os} \\ W+${ configuration} \\ W+${ scenario} .*" )
1547
+ }
1548
+ break
1544
1549
case ' minopts' :
1545
1550
Utilities . addGithubPRTriggerForBranch(job, branch, " ${ os} ${ arch} ${ jit} ${ configuration} Build and Test (Jit - MinOpts)" ,
1546
1551
" (?i).*test\\ W+${ os} \\ W+${ arch} \\ W+${ jit} \\ W+${ configuration} \\ W+${ scenario} .*" )
@@ -1744,6 +1749,11 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
1744
1749
" (?i).*test\\ W+${ os} \\ W+${ arch} \\ W+${ jit} \\ W+${ configuration} \\ W+${ scenario} .*" )
1745
1750
}
1746
1751
break
1752
+ case ' standalone_gc' :
1753
+ if (configuration == ' Release' || configuration == ' Checked' ) {
1754
+ Utilities . addGithubPRTriggerForBranch(job, branch, " ${ os} ${ architecture} ${ configuration} Standalone GC" , " (?i).*test\\ W+${ os} \\ W+${ configuration} \\ W+${ scenario} .*" )
1755
+ }
1756
+ break
1747
1757
default :
1748
1758
println (" Unknown scenario: ${ os} ${ arch} ${ jit} ${ scenario} " );
1749
1759
assert false
@@ -2029,19 +2039,24 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
2029
2039
Utilities . addArchival(newJob, " format.patch" , " " , true , false )
2030
2040
break
2031
2041
}
2042
+
2043
+ def standaloneGc = ' '
2044
+ if (scenario == ' standalone_gc' ) {
2045
+ standaloneGc = ' buildstandalonegc'
2046
+ }
2032
2047
2033
2048
if (! enableCorefxTesting) {
2034
2049
// We run pal tests on all OS but generate mscorlib (and thus, nuget packages)
2035
2050
// only on supported OS platforms.
2036
2051
if ((os == ' FreeBSD' ) || (os == ' OpenSUSE13.2' ))
2037
2052
{
2038
- buildCommands + = " ./build.sh skipmscorlib verbose ${ lowerConfiguration} ${ arch} "
2053
+ buildCommands + = " ./build.sh skipmscorlib verbose ${ lowerConfiguration} ${ arch} ${ standaloneGc } "
2039
2054
}
2040
2055
else
2041
2056
{
2042
2057
def bootstrapRid = Utilities . getBoostrapPublishRid(os)
2043
2058
def bootstrapRidEnv = bootstrapRid != null ? " __PUBLISH_RID=${ bootstrapRid} " : ' '
2044
- buildCommands + = " ${ bootstrapRidEnv} ./build.sh verbose ${ lowerConfiguration} ${ arch} "
2059
+ buildCommands + = " ${ bootstrapRidEnv} ./build.sh verbose ${ lowerConfiguration} ${ arch} ${ standaloneGc } "
2045
2060
}
2046
2061
buildCommands + = " src/pal/tests/palsuite/runpaltests.sh \$ {WORKSPACE}/bin/obj/${ osGroup} .${ arch} .${ configuration} \$ {WORKSPACE}/bin/paltestout"
2047
2062
@@ -2354,7 +2369,7 @@ combinedScenarios.each { scenario ->
2354
2369
}
2355
2370
break
2356
2371
case ' standalone_gc' :
2357
- if (os != ' Windows_NT' ) {
2372
+ if (os != ' Windows_NT' && os != ' Ubuntu ' && os != ' OSX ' ) {
2358
2373
return
2359
2374
}
2360
2375
0 commit comments