From cc7693852aed4e0c5c418b6de394c0502319b020 Mon Sep 17 00:00:00 2001 From: Eduardo Velarde Date: Thu, 19 Jun 2025 17:27:01 -0700 Subject: [PATCH 01/10] Add interpreter pipeline --- .../templates/runtimes/run-test-job.yml | 2 + .../templates/runtimes/send-to-helix-step.yml | 2 + eng/pipelines/coreclr/ci.yml | 4 + eng/pipelines/coreclr/interpreter.yml | 198 ++++++++++++++++++ .../coreclr/templates/run-paltests-step.yml | 2 + src/tests/Common/helixpublishwitharcade.proj | 4 + 6 files changed, 212 insertions(+) create mode 100644 eng/pipelines/coreclr/interpreter.yml diff --git a/eng/pipelines/common/templates/runtimes/run-test-job.yml b/eng/pipelines/common/templates/runtimes/run-test-job.yml index 88ad3e36cda0bc..d2c33c20f0a692 100644 --- a/eng/pipelines/common/templates/runtimes/run-test-job.yml +++ b/eng/pipelines/common/templates/runtimes/run-test-job.yml @@ -15,6 +15,7 @@ parameters: condition: true displayNameArgs: '' runInUnloadableContext: false + runInterpreter: false tieringTest: false runtimeVariant: '' variables: {} @@ -308,6 +309,7 @@ jobs: runCrossGen2: ${{ eq(parameters.readyToRun, true) }} compositeBuildMode: ${{ parameters.compositeBuildMode }} runInUnloadableContext: ${{ parameters.runInUnloadableContext }} + runInterpreter: ${{ parameters.runInterpreter }} tieringTest: ${{ parameters.tieringTest }} hotColdSplitting: ${{ parameters.hotColdSplitting }} diff --git a/eng/pipelines/common/templates/runtimes/send-to-helix-step.yml b/eng/pipelines/common/templates/runtimes/send-to-helix-step.yml index 918ba5b814aaa3..fa99f7e5597212 100644 --- a/eng/pipelines/common/templates/runtimes/send-to-helix-step.yml +++ b/eng/pipelines/common/templates/runtimes/send-to-helix-step.yml @@ -21,6 +21,7 @@ parameters: helixProjectArguments: '' extraHelixArguments: '' runInUnloadableContext: '' + runInterpreter: '' tieringTest: '' hotColdSplitting: '' nativeAotTest: '' @@ -55,6 +56,7 @@ steps: _RunCrossGen2: ${{ parameters.runCrossGen2 }} _CompositeBuildMode: ${{ parameters.compositeBuildMode }} _RunInUnloadableContext: ${{ parameters.runInUnloadableContext }} + _RunInterpreter: ${{ parameters.runInterpreter }} _TieringTest: ${{ parameters.tieringTest }} _HotColdSplitting: ${{ parameters.hotColdSplitting }} _NativeAotTest: ${{ parameters.nativeAotTest }} diff --git a/eng/pipelines/coreclr/ci.yml b/eng/pipelines/coreclr/ci.yml index d673570f0caf95..55d52fcdc65138 100644 --- a/eng/pipelines/coreclr/ci.yml +++ b/eng/pipelines/coreclr/ci.yml @@ -144,6 +144,7 @@ extends: helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml jobParameters: testGroup: outerloop + runInterpreter: true liveLibrariesBuildConfig: Release unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) @@ -168,6 +169,7 @@ extends: jobParameters: testGroup: outerloop readyToRun: true + runInterpreter: true displayNameArgs: R2R_CG2 liveLibrariesBuildConfig: Release unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) @@ -192,3 +194,5 @@ extends: nameSuffix: PALTests postBuildSteps: - template: /eng/pipelines/coreclr/templates/run-paltests-step.yml + parameters: + runInterpreter: true diff --git a/eng/pipelines/coreclr/interpreter.yml b/eng/pipelines/coreclr/interpreter.yml new file mode 100644 index 00000000000000..55d52fcdc65138 --- /dev/null +++ b/eng/pipelines/coreclr/interpreter.yml @@ -0,0 +1,198 @@ +trigger: + batch: true + branches: + include: + - release/*.* + paths: + include: + - '*' + - src/libraries/System.Private.CoreLib/* + exclude: + - '**.md' + - .devcontainer/* + - .github/* + - docs/* + - LICENSE.TXT + - PATENTS.TXT + - THIRD-PARTY-NOTICES.TXT + - src/installer/* + - src/libraries/* + - eng/pipelines/installer/* + - eng/pipelines/libraries/* + - eng/pipelines/runtime.yml + +schedules: + - cron: "0 9,18,1 * * *" # run at 9:00, 18:00 and 01:00 (UTC) which is 2:00, 11:00 and 18:00 (PST). + displayName: runtime-coreclr-outerloop default schedule + branches: + include: + - main + always: false # run only if there were changes since the last successful scheduled run. + +variables: + - template: /eng/pipelines/common/variables.yml + +extends: + template: /eng/pipelines/common/templates/pipeline-with-resources.yml + parameters: + stages: + - stage: Build + jobs: + + # + # Debug builds + # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/global-build-job.yml + buildConfig: debug + platforms: + - linux_arm + - linux_arm64 + - linux_musl_arm64 + - linux_musl_x64 + - linux_x64 + - osx_arm64 + - osx_x64 + - windows_arm64 + jobParameters: + buildArgs: -s clr -c $(_BuildConfig) + postBuildSteps: + - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml + extraVariablesTemplates: + - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml + parameters: + testGroup: outerloop + + # + # Release builds + # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/global-build-job.yml + buildConfig: release + platforms: + - linux_arm + - linux_musl_arm64 + - linux_x64 + - osx_arm64 + - osx_x64 + - windows_x86 + jobParameters: + buildArgs: -s clr -c $(_BuildConfig) + postBuildSteps: + - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml + extraVariablesTemplates: + - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml + parameters: + testGroup: outerloop + + # + # Checked builds + # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/global-build-job.yml + buildConfig: checked + platformGroup: all + platforms: + # It is too early to include osx_arm64 in platform group all + # Adding it here will enable it also + - osx_arm64 + jobParameters: + buildArgs: -s clr+libs -c $(_BuildConfig) -lc Release + postBuildSteps: + - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml + - template: /eng/pipelines/common/upload-artifact-step.yml + parameters: + rootFolder: $(Build.SourcesDirectory)/artifacts/bin + includeRootFolder: false + archiveType: $(archiveType) + archiveExtension: $(archiveExtension) + tarCompression: $(tarCompression) + artifactName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) + displayName: Build Assets + extraVariablesTemplates: + - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml + parameters: + testGroup: outerloop + + # + # Checked test builds + # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/templates/runtimes/build-test-job.yml + buildConfig: checked + platforms: + - CoreClrTestBuildHost # Either osx_x64 or linux_x64 + testGroup: outerloop + + # + # Checked JIT test runs + # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml + buildConfig: checked + platformGroup: all + platforms: + # It is too early to include osx_arm64 in platform group all + # Adding it here will enable it to also run this test + - osx_arm64 + helixQueueGroup: ci + helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml + jobParameters: + testGroup: outerloop + runInterpreter: true + liveLibrariesBuildConfig: Release + unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) + + # + # Checked R2R test runs + # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml + buildConfig: checked + platforms: + - linux_arm64 + - linux_musl_x64 + - linux_musl_arm64 + - linux_x64 + - osx_x64 + - windows_x64 + - windows_x86 + - windows_arm64 + helixQueueGroup: ci + helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml + jobParameters: + testGroup: outerloop + readyToRun: true + runInterpreter: true + displayNameArgs: R2R_CG2 + liveLibrariesBuildConfig: Release + unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) + + # + # PAL Tests + # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml + jobTemplate: /eng/pipelines/common/global-build-job.yml + buildConfig: Debug + platforms: + - linux_x64 + - linux_musl_x64 + - linux_arm64 + - linux_musl_arm64 + - osx_x64 + - osx_arm64 + jobParameters: + buildArgs: -s clr.paltests+clr.paltestlist + nameSuffix: PALTests + postBuildSteps: + - template: /eng/pipelines/coreclr/templates/run-paltests-step.yml + parameters: + runInterpreter: true diff --git a/eng/pipelines/coreclr/templates/run-paltests-step.yml b/eng/pipelines/coreclr/templates/run-paltests-step.yml index d64feb72206d56..b1dbf65d916906 100644 --- a/eng/pipelines/coreclr/templates/run-paltests-step.yml +++ b/eng/pipelines/coreclr/templates/run-paltests-step.yml @@ -5,6 +5,7 @@ parameters: archType: '' # required -- targeting CPU architecture osGroup: '' # required -- operating system for the job osSubgroup: '' # optional -- operating system subgroup + runInterpreter: 'false' # optional -- whether to run the interpreter steps: - template: /eng/pipelines/common/templates/runtimes/send-to-helix-step.yml @@ -20,3 +21,4 @@ steps: osGroup: ${{ parameters.osGroup }} archType: ${{ parameters.archType }} shouldContinueOnError: ${{ parameters.continueOnError }} + runInterpreter: ${{ parameters.runInterpreter }} diff --git a/src/tests/Common/helixpublishwitharcade.proj b/src/tests/Common/helixpublishwitharcade.proj index e6f3193a7490e8..28fc40a768f954 100644 --- a/src/tests/Common/helixpublishwitharcade.proj +++ b/src/tests/Common/helixpublishwitharcade.proj @@ -39,6 +39,7 @@ <_LongRunningGCTests>false <_GcSimulatorTests>false <_RunInUnloadableContext>false + <_RunInterpreter>false <_TieringTest>false <_HotColdSplitting>false <_NativeAotTest>false @@ -98,6 +99,7 @@ LongRunningGCTests=$(_LongRunningGCTests); GcSimulatorTests=$(_GcSimulatorTests); RunInUnloadableContext=$(_RunInUnloadableContext); + RunInterpreter=$(_RunInterpreter); TieringTest=$(_TieringTest); HotColdSplitting=$(_HotColdSplitting); NativeAotTest=$(_NativeAotTest); @@ -694,6 +696,7 @@ + @@ -747,6 +750,7 @@ + From 709fc831b7d6979ec00856def14c82e4c95f50dd Mon Sep 17 00:00:00 2001 From: Eduardo Velarde Date: Fri, 20 Jun 2025 15:44:54 -0700 Subject: [PATCH 02/10] Remove some platform and tests --- eng/pipelines/coreclr/ci.yml | 64 +++---------------- eng/pipelines/coreclr/interpreter.yml | 64 +++---------------- .../coreclr/templates/run-paltests-step.yml | 2 - 3 files changed, 20 insertions(+), 110 deletions(-) diff --git a/eng/pipelines/coreclr/ci.yml b/eng/pipelines/coreclr/ci.yml index 55d52fcdc65138..c499bdc084f411 100644 --- a/eng/pipelines/coreclr/ci.yml +++ b/eng/pipelines/coreclr/ci.yml @@ -47,7 +47,6 @@ extends: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: debug platforms: - - linux_arm - linux_arm64 - linux_musl_arm64 - linux_musl_x64 @@ -72,12 +71,10 @@ extends: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: release platforms: - - linux_arm - linux_musl_arm64 - linux_x64 - osx_arm64 - osx_x64 - - windows_x86 jobParameters: buildArgs: -s clr -c $(_BuildConfig) postBuildSteps: @@ -94,10 +91,14 @@ extends: parameters: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: checked - platformGroup: all platforms: - # It is too early to include osx_arm64 in platform group all - # Adding it here will enable it also + - linux_x64 + - linux_arm64 + - linux_musl_x64 + - linux_musl_arm64 + - windows_x64 + - windows_arm64 + - osx_x64 - osx_arm64 jobParameters: buildArgs: -s clr+libs -c $(_BuildConfig) -lc Release @@ -131,68 +132,23 @@ extends: # # Checked JIT test runs # - - template: /eng/pipelines/common/platform-matrix.yml - parameters: - jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml - buildConfig: checked - platformGroup: all - platforms: - # It is too early to include osx_arm64 in platform group all - # Adding it here will enable it to also run this test - - osx_arm64 - helixQueueGroup: ci - helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml - jobParameters: - testGroup: outerloop - runInterpreter: true - liveLibrariesBuildConfig: Release - unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) - - # - # Checked R2R test runs - # - template: /eng/pipelines/common/platform-matrix.yml parameters: jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml buildConfig: checked platforms: + - linux_x64 - linux_arm64 - linux_musl_x64 - linux_musl_arm64 - - linux_x64 - - osx_x64 - windows_x64 - - windows_x86 - windows_arm64 + - osx_x64 + - osx_arm64 helixQueueGroup: ci helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml jobParameters: testGroup: outerloop - readyToRun: true runInterpreter: true - displayNameArgs: R2R_CG2 liveLibrariesBuildConfig: Release unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) - - # - # PAL Tests - # - - template: /eng/pipelines/common/platform-matrix.yml - parameters: - helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml - jobTemplate: /eng/pipelines/common/global-build-job.yml - buildConfig: Debug - platforms: - - linux_x64 - - linux_musl_x64 - - linux_arm64 - - linux_musl_arm64 - - osx_x64 - - osx_arm64 - jobParameters: - buildArgs: -s clr.paltests+clr.paltestlist - nameSuffix: PALTests - postBuildSteps: - - template: /eng/pipelines/coreclr/templates/run-paltests-step.yml - parameters: - runInterpreter: true diff --git a/eng/pipelines/coreclr/interpreter.yml b/eng/pipelines/coreclr/interpreter.yml index 55d52fcdc65138..c499bdc084f411 100644 --- a/eng/pipelines/coreclr/interpreter.yml +++ b/eng/pipelines/coreclr/interpreter.yml @@ -47,7 +47,6 @@ extends: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: debug platforms: - - linux_arm - linux_arm64 - linux_musl_arm64 - linux_musl_x64 @@ -72,12 +71,10 @@ extends: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: release platforms: - - linux_arm - linux_musl_arm64 - linux_x64 - osx_arm64 - osx_x64 - - windows_x86 jobParameters: buildArgs: -s clr -c $(_BuildConfig) postBuildSteps: @@ -94,10 +91,14 @@ extends: parameters: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: checked - platformGroup: all platforms: - # It is too early to include osx_arm64 in platform group all - # Adding it here will enable it also + - linux_x64 + - linux_arm64 + - linux_musl_x64 + - linux_musl_arm64 + - windows_x64 + - windows_arm64 + - osx_x64 - osx_arm64 jobParameters: buildArgs: -s clr+libs -c $(_BuildConfig) -lc Release @@ -131,68 +132,23 @@ extends: # # Checked JIT test runs # - - template: /eng/pipelines/common/platform-matrix.yml - parameters: - jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml - buildConfig: checked - platformGroup: all - platforms: - # It is too early to include osx_arm64 in platform group all - # Adding it here will enable it to also run this test - - osx_arm64 - helixQueueGroup: ci - helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml - jobParameters: - testGroup: outerloop - runInterpreter: true - liveLibrariesBuildConfig: Release - unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) - - # - # Checked R2R test runs - # - template: /eng/pipelines/common/platform-matrix.yml parameters: jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml buildConfig: checked platforms: + - linux_x64 - linux_arm64 - linux_musl_x64 - linux_musl_arm64 - - linux_x64 - - osx_x64 - windows_x64 - - windows_x86 - windows_arm64 + - osx_x64 + - osx_arm64 helixQueueGroup: ci helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml jobParameters: testGroup: outerloop - readyToRun: true runInterpreter: true - displayNameArgs: R2R_CG2 liveLibrariesBuildConfig: Release unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) - - # - # PAL Tests - # - - template: /eng/pipelines/common/platform-matrix.yml - parameters: - helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml - jobTemplate: /eng/pipelines/common/global-build-job.yml - buildConfig: Debug - platforms: - - linux_x64 - - linux_musl_x64 - - linux_arm64 - - linux_musl_arm64 - - osx_x64 - - osx_arm64 - jobParameters: - buildArgs: -s clr.paltests+clr.paltestlist - nameSuffix: PALTests - postBuildSteps: - - template: /eng/pipelines/coreclr/templates/run-paltests-step.yml - parameters: - runInterpreter: true diff --git a/eng/pipelines/coreclr/templates/run-paltests-step.yml b/eng/pipelines/coreclr/templates/run-paltests-step.yml index b1dbf65d916906..d64feb72206d56 100644 --- a/eng/pipelines/coreclr/templates/run-paltests-step.yml +++ b/eng/pipelines/coreclr/templates/run-paltests-step.yml @@ -5,7 +5,6 @@ parameters: archType: '' # required -- targeting CPU architecture osGroup: '' # required -- operating system for the job osSubgroup: '' # optional -- operating system subgroup - runInterpreter: 'false' # optional -- whether to run the interpreter steps: - template: /eng/pipelines/common/templates/runtimes/send-to-helix-step.yml @@ -21,4 +20,3 @@ steps: osGroup: ${{ parameters.osGroup }} archType: ${{ parameters.archType }} shouldContinueOnError: ${{ parameters.continueOnError }} - runInterpreter: ${{ parameters.runInterpreter }} From 30a3a6bb90c0b50faec147009336393a60e9590a Mon Sep 17 00:00:00 2001 From: Eduardo Velarde Date: Fri, 20 Jun 2025 15:49:00 -0700 Subject: [PATCH 03/10] Remove trigger and schedule for now --- eng/pipelines/coreclr/ci.yml | 31 +-------------------------- eng/pipelines/coreclr/interpreter.yml | 31 +-------------------------- 2 files changed, 2 insertions(+), 60 deletions(-) diff --git a/eng/pipelines/coreclr/ci.yml b/eng/pipelines/coreclr/ci.yml index c499bdc084f411..aee1d63b203f30 100644 --- a/eng/pipelines/coreclr/ci.yml +++ b/eng/pipelines/coreclr/ci.yml @@ -1,33 +1,4 @@ -trigger: - batch: true - branches: - include: - - release/*.* - paths: - include: - - '*' - - src/libraries/System.Private.CoreLib/* - exclude: - - '**.md' - - .devcontainer/* - - .github/* - - docs/* - - LICENSE.TXT - - PATENTS.TXT - - THIRD-PARTY-NOTICES.TXT - - src/installer/* - - src/libraries/* - - eng/pipelines/installer/* - - eng/pipelines/libraries/* - - eng/pipelines/runtime.yml - -schedules: - - cron: "0 9,18,1 * * *" # run at 9:00, 18:00 and 01:00 (UTC) which is 2:00, 11:00 and 18:00 (PST). - displayName: runtime-coreclr-outerloop default schedule - branches: - include: - - main - always: false # run only if there were changes since the last successful scheduled run. +trigger: none variables: - template: /eng/pipelines/common/variables.yml diff --git a/eng/pipelines/coreclr/interpreter.yml b/eng/pipelines/coreclr/interpreter.yml index c499bdc084f411..aee1d63b203f30 100644 --- a/eng/pipelines/coreclr/interpreter.yml +++ b/eng/pipelines/coreclr/interpreter.yml @@ -1,33 +1,4 @@ -trigger: - batch: true - branches: - include: - - release/*.* - paths: - include: - - '*' - - src/libraries/System.Private.CoreLib/* - exclude: - - '**.md' - - .devcontainer/* - - .github/* - - docs/* - - LICENSE.TXT - - PATENTS.TXT - - THIRD-PARTY-NOTICES.TXT - - src/installer/* - - src/libraries/* - - eng/pipelines/installer/* - - eng/pipelines/libraries/* - - eng/pipelines/runtime.yml - -schedules: - - cron: "0 9,18,1 * * *" # run at 9:00, 18:00 and 01:00 (UTC) which is 2:00, 11:00 and 18:00 (PST). - displayName: runtime-coreclr-outerloop default schedule - branches: - include: - - main - always: false # run only if there were changes since the last successful scheduled run. +trigger: none variables: - template: /eng/pipelines/common/variables.yml From af49e638f7db943e1656f81b34e45da59d1e2c1c Mon Sep 17 00:00:00 2001 From: Eduardo Velarde Date: Mon, 23 Jun 2025 12:55:23 -0700 Subject: [PATCH 04/10] Revert ci.yml --- eng/pipelines/coreclr/ci.yml | 93 +++++++++++++++++++++++++++++++----- 1 file changed, 81 insertions(+), 12 deletions(-) diff --git a/eng/pipelines/coreclr/ci.yml b/eng/pipelines/coreclr/ci.yml index aee1d63b203f30..d673570f0caf95 100644 --- a/eng/pipelines/coreclr/ci.yml +++ b/eng/pipelines/coreclr/ci.yml @@ -1,4 +1,33 @@ -trigger: none +trigger: + batch: true + branches: + include: + - release/*.* + paths: + include: + - '*' + - src/libraries/System.Private.CoreLib/* + exclude: + - '**.md' + - .devcontainer/* + - .github/* + - docs/* + - LICENSE.TXT + - PATENTS.TXT + - THIRD-PARTY-NOTICES.TXT + - src/installer/* + - src/libraries/* + - eng/pipelines/installer/* + - eng/pipelines/libraries/* + - eng/pipelines/runtime.yml + +schedules: + - cron: "0 9,18,1 * * *" # run at 9:00, 18:00 and 01:00 (UTC) which is 2:00, 11:00 and 18:00 (PST). + displayName: runtime-coreclr-outerloop default schedule + branches: + include: + - main + always: false # run only if there were changes since the last successful scheduled run. variables: - template: /eng/pipelines/common/variables.yml @@ -18,6 +47,7 @@ extends: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: debug platforms: + - linux_arm - linux_arm64 - linux_musl_arm64 - linux_musl_x64 @@ -42,10 +72,12 @@ extends: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: release platforms: + - linux_arm - linux_musl_arm64 - linux_x64 - osx_arm64 - osx_x64 + - windows_x86 jobParameters: buildArgs: -s clr -c $(_BuildConfig) postBuildSteps: @@ -62,14 +94,10 @@ extends: parameters: jobTemplate: /eng/pipelines/common/global-build-job.yml buildConfig: checked + platformGroup: all platforms: - - linux_x64 - - linux_arm64 - - linux_musl_x64 - - linux_musl_arm64 - - windows_x64 - - windows_arm64 - - osx_x64 + # It is too early to include osx_arm64 in platform group all + # Adding it here will enable it also - osx_arm64 jobParameters: buildArgs: -s clr+libs -c $(_BuildConfig) -lc Release @@ -103,23 +131,64 @@ extends: # # Checked JIT test runs # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml + buildConfig: checked + platformGroup: all + platforms: + # It is too early to include osx_arm64 in platform group all + # Adding it here will enable it to also run this test + - osx_arm64 + helixQueueGroup: ci + helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml + jobParameters: + testGroup: outerloop + liveLibrariesBuildConfig: Release + unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) + + # + # Checked R2R test runs + # - template: /eng/pipelines/common/platform-matrix.yml parameters: jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml buildConfig: checked platforms: - - linux_x64 - linux_arm64 - linux_musl_x64 - linux_musl_arm64 + - linux_x64 + - osx_x64 - windows_x64 + - windows_x86 - windows_arm64 - - osx_x64 - - osx_arm64 helixQueueGroup: ci helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml jobParameters: testGroup: outerloop - runInterpreter: true + readyToRun: true + displayNameArgs: R2R_CG2 liveLibrariesBuildConfig: Release unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig) + + # + # PAL Tests + # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml + jobTemplate: /eng/pipelines/common/global-build-job.yml + buildConfig: Debug + platforms: + - linux_x64 + - linux_musl_x64 + - linux_arm64 + - linux_musl_arm64 + - osx_x64 + - osx_arm64 + jobParameters: + buildArgs: -s clr.paltests+clr.paltestlist + nameSuffix: PALTests + postBuildSteps: + - template: /eng/pipelines/coreclr/templates/run-paltests-step.yml From 43fd92e1ad3560883ff96218abee9356ddcbb55d Mon Sep 17 00:00:00 2001 From: Eduardo Velarde Date: Thu, 26 Jun 2025 16:58:48 -0700 Subject: [PATCH 05/10] Merge BashCLRTestLaunchCmds arm64/non-arm64 block in CLRTest.Execute.Bash.targets --- src/tests/Common/CLRTest.Execute.Bash.targets | 31 +------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/src/tests/Common/CLRTest.Execute.Bash.targets b/src/tests/Common/CLRTest.Execute.Bash.targets index b9034c27bf201f..5bdadae6071341 100644 --- a/src/tests/Common/CLRTest.Execute.Bash.targets +++ b/src/tests/Common/CLRTest.Execute.Bash.targets @@ -371,7 +371,7 @@ $__Command msbuild $CORE_ROOT/wasm-test-runner/WasmTestRunner.proj /p:NetCoreApp ]]> - + - - From 416f6d6f3b8ad396ab186bd73c0fe42c711da8e7 Mon Sep 17 00:00:00 2001 From: Eduardo Velarde Date: Thu, 26 Jun 2025 17:22:00 -0700 Subject: [PATCH 06/10] Remove debug/release builds and musl flavors --- eng/pipelines/coreclr/interpreter.yml | 49 --------------------------- 1 file changed, 49 deletions(-) diff --git a/eng/pipelines/coreclr/interpreter.yml b/eng/pipelines/coreclr/interpreter.yml index aee1d63b203f30..746508b7372530 100644 --- a/eng/pipelines/coreclr/interpreter.yml +++ b/eng/pipelines/coreclr/interpreter.yml @@ -10,51 +10,6 @@ extends: - stage: Build jobs: - # - # Debug builds - # - - template: /eng/pipelines/common/platform-matrix.yml - parameters: - jobTemplate: /eng/pipelines/common/global-build-job.yml - buildConfig: debug - platforms: - - linux_arm64 - - linux_musl_arm64 - - linux_musl_x64 - - linux_x64 - - osx_arm64 - - osx_x64 - - windows_arm64 - jobParameters: - buildArgs: -s clr -c $(_BuildConfig) - postBuildSteps: - - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml - extraVariablesTemplates: - - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml - parameters: - testGroup: outerloop - - # - # Release builds - # - - template: /eng/pipelines/common/platform-matrix.yml - parameters: - jobTemplate: /eng/pipelines/common/global-build-job.yml - buildConfig: release - platforms: - - linux_musl_arm64 - - linux_x64 - - osx_arm64 - - osx_x64 - jobParameters: - buildArgs: -s clr -c $(_BuildConfig) - postBuildSteps: - - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml - extraVariablesTemplates: - - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml - parameters: - testGroup: outerloop - # # Checked builds # @@ -65,8 +20,6 @@ extends: platforms: - linux_x64 - linux_arm64 - - linux_musl_x64 - - linux_musl_arm64 - windows_x64 - windows_arm64 - osx_x64 @@ -110,8 +63,6 @@ extends: platforms: - linux_x64 - linux_arm64 - - linux_musl_x64 - - linux_musl_arm64 - windows_x64 - windows_arm64 - osx_x64 From 742a2a0373cdc73cd90a4b7292aefc3293cec4ec Mon Sep 17 00:00:00 2001 From: Eduardo Velarde Date: Fri, 27 Jun 2025 01:09:47 -0700 Subject: [PATCH 07/10] Add debug builds --- eng/pipelines/coreclr/interpreter.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/eng/pipelines/coreclr/interpreter.yml b/eng/pipelines/coreclr/interpreter.yml index 746508b7372530..4999fefbedb05d 100644 --- a/eng/pipelines/coreclr/interpreter.yml +++ b/eng/pipelines/coreclr/interpreter.yml @@ -10,6 +10,30 @@ extends: - stage: Build jobs: + # + # Debug builds + # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/global-build-job.yml + buildConfig: debug + platforms: + - linux_arm64 + - linux_musl_arm64 + - linux_musl_x64 + - linux_x64 + - osx_arm64 + - osx_x64 + - windows_arm64 + jobParameters: + buildArgs: -s clr -c $(_BuildConfig) + postBuildSteps: + - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml + extraVariablesTemplates: + - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml + parameters: + testGroup: outerloop + # # Checked builds # From 91c6bdf34fe9913019d19987e89ec94cce9fc4f0 Mon Sep 17 00:00:00 2001 From: Eduardo Velarde Date: Fri, 27 Jun 2025 01:10:28 -0700 Subject: [PATCH 08/10] Add only release builds --- eng/pipelines/coreclr/interpreter.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/eng/pipelines/coreclr/interpreter.yml b/eng/pipelines/coreclr/interpreter.yml index 4999fefbedb05d..7ffc091432800e 100644 --- a/eng/pipelines/coreclr/interpreter.yml +++ b/eng/pipelines/coreclr/interpreter.yml @@ -10,21 +10,18 @@ extends: - stage: Build jobs: - # - # Debug builds + # + # Release builds # - template: /eng/pipelines/common/platform-matrix.yml parameters: jobTemplate: /eng/pipelines/common/global-build-job.yml - buildConfig: debug + buildConfig: release platforms: - - linux_arm64 - linux_musl_arm64 - - linux_musl_x64 - linux_x64 - osx_arm64 - osx_x64 - - windows_arm64 jobParameters: buildArgs: -s clr -c $(_BuildConfig) postBuildSteps: From 5a610c0cbf9642488abc7044ebc365a8954eccbe Mon Sep 17 00:00:00 2001 From: Eduardo Velarde Date: Fri, 27 Jun 2025 01:11:02 -0700 Subject: [PATCH 09/10] Add both debug and release builds --- eng/pipelines/coreclr/interpreter.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/coreclr/interpreter.yml b/eng/pipelines/coreclr/interpreter.yml index 7ffc091432800e..78b82be27b632a 100644 --- a/eng/pipelines/coreclr/interpreter.yml +++ b/eng/pipelines/coreclr/interpreter.yml @@ -10,7 +10,31 @@ extends: - stage: Build jobs: - # + # + # Debug builds + # + - template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/global-build-job.yml + buildConfig: debug + platforms: + - linux_arm64 + - linux_musl_arm64 + - linux_musl_x64 + - linux_x64 + - osx_arm64 + - osx_x64 + - windows_arm64 + jobParameters: + buildArgs: -s clr -c $(_BuildConfig) + postBuildSteps: + - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml + extraVariablesTemplates: + - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml + parameters: + testGroup: outerloop + + # # Release builds # - template: /eng/pipelines/common/platform-matrix.yml From 38fac6e24866b620abf7bb6666f1e1aa8471a796 Mon Sep 17 00:00:00 2001 From: Eduardo Velarde Date: Fri, 27 Jun 2025 01:11:53 -0700 Subject: [PATCH 10/10] Try again removing debug and release --- eng/pipelines/coreclr/interpreter.yml | 45 --------------------------- 1 file changed, 45 deletions(-) diff --git a/eng/pipelines/coreclr/interpreter.yml b/eng/pipelines/coreclr/interpreter.yml index 78b82be27b632a..746508b7372530 100644 --- a/eng/pipelines/coreclr/interpreter.yml +++ b/eng/pipelines/coreclr/interpreter.yml @@ -10,51 +10,6 @@ extends: - stage: Build jobs: - # - # Debug builds - # - - template: /eng/pipelines/common/platform-matrix.yml - parameters: - jobTemplate: /eng/pipelines/common/global-build-job.yml - buildConfig: debug - platforms: - - linux_arm64 - - linux_musl_arm64 - - linux_musl_x64 - - linux_x64 - - osx_arm64 - - osx_x64 - - windows_arm64 - jobParameters: - buildArgs: -s clr -c $(_BuildConfig) - postBuildSteps: - - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml - extraVariablesTemplates: - - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml - parameters: - testGroup: outerloop - - # - # Release builds - # - - template: /eng/pipelines/common/platform-matrix.yml - parameters: - jobTemplate: /eng/pipelines/common/global-build-job.yml - buildConfig: release - platforms: - - linux_musl_arm64 - - linux_x64 - - osx_arm64 - - osx_x64 - jobParameters: - buildArgs: -s clr -c $(_BuildConfig) - postBuildSteps: - - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml - extraVariablesTemplates: - - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml - parameters: - testGroup: outerloop - # # Checked builds #