summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2019-06-12 19:15:22 +0200
committerGitHub <noreply@github.com>2019-06-12 19:15:22 +0200
commit4c802793e1c526f98a2fe76979e50b11ad029808 (patch)
treeaaf082ce93beeac2fed7c4afc91baa11a08f468e /azure-pipelines.yml
parent1bed4714dcf1ae73100f110ff2ff1642c616bb93 (diff)
downloadcoreclr-4c802793e1c526f98a2fe76979e50b11ad029808.tar.gz
coreclr-4c802793e1c526f98a2fe76979e50b11ad029808.tar.bz2
coreclr-4c802793e1c526f98a2fe76979e50b11ad029808.zip
Enable coreclr-runincontext in azure pipelines (#25073)
* Enable coreclr-runincontext in azure pipelines
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml17
1 files changed, 16 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 0762ed408b..a837b7391b 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -45,6 +45,7 @@ jobs:
## \---------> Pri1 -----------------> plain runtests
## | \----------------> jitstress
## | \----------------> gcstress
+## | \----------------> runincontext
## | \----------------> maybe more (dynamically selected runtest modes)
## |
## \---------> Pri1 crossgen --------> plain runtests
@@ -155,6 +156,11 @@ jobs:
platforms:
- Linux_x64
- Windows_NT_x64
+ ${{ if eq(variables['Build.DefinitionName'], 'coreclr-runincontext') }}:
+ platforms:
+ - Linux_x64
+ - Windows_NT_x64
+ - Windows_NT_x86
#
# Release builds
@@ -199,7 +205,7 @@ jobs:
#
# The test jobs that can be triggered by a PR, manually from ADO and that are scheduled
# TODO: This long 'in' condition needs to be make data driven, perhaps by adding another layer of template.
-- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'Manual', 'Schedule'), in(variables['Build.DefinitionName'], 'coreclr-ci', 'coreclr-outerloop', 'coreclr-outerloop-jitstress', 'coreclr-outerloop-jitstress-isas-arm', 'coreclr-outerloop-jitstress-isas-x86', 'coreclr-outerloop-jitstressregs-x86', 'coreclr-outerloop-jitstressregs', 'coreclr-outerloop-jitstress2-jitstressregs', 'coreclr-outerloop-gcstress0x3-gcstress0xc', 'coreclr-outerloop-gcstress-extra', 'coreclr-outerloop-r2r', 'coreclr-outerloop-r2r-extra')) }}:
+- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'Manual', 'Schedule'), in(variables['Build.DefinitionName'], 'coreclr-ci', 'coreclr-outerloop', 'coreclr-outerloop-jitstress', 'coreclr-outerloop-jitstress-isas-arm', 'coreclr-outerloop-jitstress-isas-x86', 'coreclr-outerloop-jitstressregs-x86', 'coreclr-outerloop-jitstressregs', 'coreclr-outerloop-jitstress2-jitstressregs', 'coreclr-outerloop-gcstress0x3-gcstress0xc', 'coreclr-outerloop-gcstress-extra', 'coreclr-outerloop-r2r', 'coreclr-outerloop-r2r-extra', 'coreclr-runincontext')) }}:
- template: eng/platform-matrix.yml
parameters:
jobTemplate: test-job.yml
@@ -237,6 +243,11 @@ jobs:
- Linux_x64
- Windows_NT_x64
- Windows_NT_x86
+ ${{ if eq(variables['Build.DefinitionName'], 'coreclr-runincontext') }}:
+ platforms:
+ - Linux_x64
+ - Windows_NT_x64
+ - Windows_NT_x86
jobParameters:
${{ if eq(variables['Build.DefinitionName'], 'coreclr-ci') }}:
testGroup: innerloop
@@ -266,6 +277,10 @@ jobs:
testGroup: r2r-extra
readyToRun: true
displayNameArgs: R2R
+ ${{ if eq(variables['Build.DefinitionName'], 'coreclr-runincontext') }}:
+ testGroup: outerloop
+ runInUnloadableContext: true
+ displayNameArgs: RunInContext
# ReadyToRun test jobs that are triggered by default from a PR.