[Tizen] Add CoreCLR tests BuildTools v3.1.3 for armel,arm64
[platform/upstream/coreclr.git] / azure-pipelines.yml
index 4a934a6..ed4bae1 100644 (file)
@@ -1,12 +1,23 @@
-variables:
-- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
-  value: true
-
 trigger:
-- master
+  batch: true
+  branches:
+    include:
+    - master
+    - release/3.0
+    - internal/release/3.*
 
 pr:
 - master
+- release/3.0
+- internal/release/3.*
+
+# Temporarily set a build number format that includes a large revision
+# number that won't conflict with buildpipeline official builds.
+name: $(Date:yyyyMMdd)$(Rev:.7r)
+
+variables:
+- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
+  value: true
 
 jobs:
 
@@ -114,41 +125,8 @@ jobs:
         - Windows_NT_x86
       ${{ if and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
         platformGroup: all
-      ${{ if in(variables['Build.DefinitionName'], 'coreclr-outerloop', 'coreclr-outerloop-jitstress', 'coreclr-outerloop-jitstressregs', 'coreclr-outerloop-jitstress2-jitstressregs') }}:
+      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop') }}:
         platformGroup: all
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstress-isas-arm') }}:
-        platforms:
-        - Linux_arm64
-        - Windows_NT_arm64
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstress-isas-x86') }}:
-        platforms:
-        - Linux_x64
-        - OSX_x64
-        - Windows_NT_x64
-        - Windows_NT_x86
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstressregs-x86') }}:
-        platforms:
-        - Linux_x64
-        - Windows_NT_x64
-        - Windows_NT_x86
-      ${{ if in(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress0x3-gcstress0xc', 'coreclr-outerloop-gcstress-extra', 'coreclr-outerloop-r2r-extra') }}:
-        platformGroup: gcstress
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-r2r') }}:
-        platforms:
-        - Linux_arm
-        - Linux_arm64
-        - Linux_x64
-        - Windows_NT_x64
-        - Windows_NT_x86
-      ${{ if in(variables['Build.DefinitionName'], 'coreclr-corefx', 'coreclr-corefx-jitstress', 'coreclr-corefx-jitstressregs', 'coreclr-corefx-jitstress2-jitstressregs') }}:
-        platforms:
-        - Linux_x64
-        - Windows_NT_x64
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-runincontext') }}:
-        platforms:
-        - Linux_x64
-        - Windows_NT_x64
-        - Windows_NT_x86
 
 #
 # Release builds
@@ -207,62 +185,15 @@ jobs:
         - Windows_NT_x64
         - Windows_NT_x86
         helixQueueGroup: pr
-      ${{ if in(variables['Build.DefinitionName'], 'coreclr-outerloop', 'coreclr-outerloop-jitstress', 'coreclr-outerloop-jitstressregs', 'coreclr-outerloop-jitstress2-jitstressregs') }}:
+      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop') }}:
         platformGroup: all
         helixQueueGroup: all
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstress-isas-arm') }}:
-        platforms:
-        - Linux_arm64
-        - Windows_NT_arm64
-        helixQueueGroup: all
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstress-isas-x86') }}:
-        platforms:
-        - Linux_x64
-        - OSX_x64
-        - Windows_NT_x64
-        - Windows_NT_x86
-        helixQueueGroup: all
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstressregs-x86') }}:
-        platforms:
-        - Linux_x64
-        - Windows_NT_x64
-        - Windows_NT_x86
-        helixQueueGroup: all
-      ${{ if in(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress0x3-gcstress0xc', 'coreclr-outerloop-gcstress-extra') }}:
-        platformGroup: gcstress
-        helixQueueGroup: all
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-runincontext') }}:
-        platforms:
-        - Linux_x64
-        - Windows_NT_x64
-        - Windows_NT_x86
-        helixQueueGroup: all
       jobParameters:
         ${{ if eq(variables['Build.DefinitionName'], 'coreclr-ci') }}:
           testGroup: innerloop
         ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop') }}:
           testGroup: outerloop
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstress') }}:
-          testGroup: jitstress
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstress-isas-arm') }}:
-          testGroup: jitstress-isas-arm
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstress-isas-x86') }}:
-          testGroup: jitstress-isas-x86
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstressregs-x86') }}:
-          testGroup: jitstressregs-x86
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstressregs') }}:
-          testGroup: jitstressregs
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstress2-jitstressregs') }}:
-          testGroup: jitstress2-jitstressregs
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress0x3-gcstress0xc') }}:
-          testGroup: gcstress0x3-gcstress0xc
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress-extra') }}:
-          testGroup: gcstress-extra
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-runincontext') }}:
-          testGroup: outerloop
-          runInUnloadableContext: true
-          displayNameArgs: RunInContext
-
+        
 # ReadyToRun test jobs that are triggered by default from a PR.
 
 - ${{ if eq(variables['System.TeamProject'], 'public') }}:
@@ -277,24 +208,9 @@ jobs:
         - Windows_NT_x64
         - Windows_NT_x86
         helixQueueGroup: pr
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-r2r') }}:
-        platforms:
-        - Linux_arm
-        - Linux_arm64
-        - Linux_x64
-        - Windows_NT_x64
-        - Windows_NT_x86
-        helixQueueGroup: all
-      ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-r2r-extra') }}:
-        platformGroup: gcstress # r2r-extra testGroup runs gcstress15 scenario
-        helixQueueGroup: all
       jobParameters:
         ${{ if eq(variables['Build.DefinitionName'], 'coreclr-ci') }}:
           testGroup: innerloop
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-r2r') }}:
-          testGroup: outerloop
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-r2r-extra') }}:
-          testGroup: r2r-extra
         readyToRun: true
         displayNameArgs: R2R
 
@@ -311,23 +227,10 @@ jobs:
         platforms:
         - Linux_x64
         - Windows_NT_x64
-      ${{ if in(variables['Build.DefinitionName'], 'coreclr-corefx', 'coreclr-corefx-jitstress', 'coreclr-corefx-jitstressregs', 'coreclr-corefx-jitstress2-jitstressregs') }}:
-        platforms:
-        - Linux_x64
-        - Windows_NT_x64
-      # We only want to run corefx testing on the minimum set of queues, no matter the build reason.
-      helixQueueGroup: pr
+      helixQueueGroup: corefx
       jobParameters:
         ${{ if eq(variables['Build.DefinitionName'], 'coreclr-ci') }}:
           testGroup: innerloop
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-corefx') }}:
-          testGroup: outerloop
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-corefx-jitstress') }}:
-          testGroup: jitstress
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-corefx-jitstressregs') }}:
-          testGroup: jitstressregs
-        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-corefx-jitstress2-jitstressregs') }}:
-          testGroup: jitstress2-jitstressregs
         corefxTests: true
         displayNameArgs: CoreFX