-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[mono][infra] Refactor running condition for runtime-ioslike and runtime-llvm pipelines #111967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
matouskozak
wants to merge
3
commits into
dotnet:main
from
matouskozak:infra/revert-automatic-mono-llvm-pipelines
Closed
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
189 changes: 189 additions & 0 deletions
189
eng/pipelines/extra-platforms/runtime-extra-platforms-llvm.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,189 @@ | ||
| # This contains only Mono LLVM AOT jobs | ||
| # These are run as part of runtime-llvm by default. | ||
|
|
||
| parameters: | ||
| isLLVMOnlyBuild: false | ||
| isRollingBuild: false | ||
|
|
||
| jobs: | ||
|
|
||
| # | ||
| # Build Mono and Installer on LLVMAOT mode | ||
| # | ||
| - template: /eng/pipelines/common/platform-matrix.yml | ||
| parameters: | ||
| jobTemplate: /eng/pipelines/common/global-build-job.yml | ||
| buildConfig: Release | ||
| runtimeFlavor: mono | ||
| platforms: | ||
| - linux_x64 | ||
| - linux_arm64 | ||
| jobParameters: | ||
| testGroup: innerloop | ||
| nameSuffix: AllSubsets_Mono_LLVMAOT | ||
| buildArgs: -s mono+libs+host+packs -c $(_BuildConfig) /p:MonoEnableLLVM=true /p:MonoAOTEnableLLVM=true | ||
| condition: >- | ||
| or( | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'], true), | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), | ||
| eq(variables['isRollingBuild'], true)) | ||
|
|
||
|
|
||
|
|
||
| - template: /eng/pipelines/common/platform-matrix.yml | ||
| parameters: | ||
| jobTemplate: /eng/pipelines/common/global-build-job.yml | ||
| buildConfig: ${{ variables.debugOnPrReleaseOnRolling }} | ||
| runtimeFlavor: mono | ||
| platforms: | ||
| - osx_x64 | ||
| jobParameters: | ||
| testGroup: innerloop | ||
| nameSuffix: AllSubsets_Mono_LLVMAOT | ||
| buildArgs: -s mono+libs+host+packs -c $(_BuildConfig) /p:MonoEnableLLVM=true /p:MonoAOTEnableLLVM=true | ||
| condition: >- | ||
| or( | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'], true), | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), | ||
| eq(variables['isRollingBuild'], true)) | ||
|
|
||
| - template: /eng/pipelines/common/platform-matrix.yml | ||
| parameters: | ||
| jobTemplate: /eng/pipelines/common/global-build-job.yml | ||
| helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml | ||
| buildConfig: Release | ||
| runtimeFlavor: mono | ||
| platforms: | ||
| - linux_x64 | ||
| # Tracking issue: https://github.com/dotnet/runtime/issues/90427 | ||
| #- linux_arm64 | ||
| variables: | ||
| - name: timeoutPerTestInMinutes | ||
| value: 60 | ||
| - name: timeoutPerTestCollectionInMinutes | ||
| value: 180 | ||
| jobParameters: | ||
| testGroup: innerloop | ||
| nameSuffix: AllSubsets_Mono_LLVMAOT_RuntimeTests | ||
| runtimeVariant: llvmaot | ||
| buildArgs: -s mono+libs+clr.hosts+clr.iltools -c $(_BuildConfig) /p:MonoEnableLLVM=true | ||
| timeoutInMinutes: 360 | ||
| condition: >- | ||
| or( | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'], true), | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), | ||
| eq(variables['isRollingBuild'], true)) | ||
| postBuildSteps: | ||
| - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml | ||
| parameters: | ||
| creator: dotnet-bot | ||
| llvmAotStepContainer: linux_x64_llvmaot | ||
| testRunNamePrefixSuffix: Mono_Release | ||
| extraVariablesTemplates: | ||
| - template: /eng/pipelines/common/templates/runtimes/test-variables.yml | ||
|
|
||
| # | ||
| # Mono CoreCLR runtime Test executions using live libraries and LLVM Full AOT | ||
| # Only when Mono is changed | ||
| # This job runs non-intrinsics runtime tests due to OOM issues | ||
| # | ||
| - template: /eng/pipelines/common/platform-matrix.yml | ||
| parameters: | ||
| jobTemplate: /eng/pipelines/common/global-build-job.yml | ||
| helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml | ||
| buildConfig: Release | ||
| runtimeFlavor: mono | ||
| platforms: | ||
| - linux_x64 | ||
| # Tracking issue: https://github.com/dotnet/runtime/issues/90427 | ||
| # - linux_arm64 | ||
| variables: | ||
| - name: timeoutPerTestInMinutes | ||
| value: 60 | ||
| - name: timeoutPerTestCollectionInMinutes | ||
| value: 180 | ||
| jobParameters: | ||
| testGroup: innerloop | ||
| nameSuffix: AllSubsets_Mono_LLVMFULLAOT_RuntimeTests | ||
| runtimeVariant: llvmfullaot | ||
| buildArgs: -s mono+libs+clr.hosts+clr.iltools -c $(_BuildConfig) /p:MonoEnableLLVM=true | ||
| timeoutInMinutes: 400 | ||
| # Run the job when triggered via runtime-ioslike, runtime-extra-platforms, or on PRs containing Mono AOT LLVM changes | ||
| condition: >- | ||
| or( | ||
| and( | ||
| eq(variables['isLLVMOnlyBuild'], true), | ||
| or( | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'], true), | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true) | ||
| ) | ||
| ), | ||
| and(eq(variables['isRollingBuild'], false), eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_aot_llvm.containsChange'], true)), | ||
| eq(variables['isRollingBuild'], true)) | ||
| postBuildSteps: | ||
| - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml | ||
| parameters: | ||
| creator: dotnet-bot | ||
| llvmAotStepContainer: linux_x64_llvmaot | ||
| testRunNamePrefixSuffix: Mono_Release | ||
| testBuildArgs: >- | ||
| -tree:CoreMangLib -tree:Exceptions -tree:GC -tree:Interop -tree:Loader -tree:Regressions -tree:baseservices | ||
| -tree:ilasm -tree:ilverify -tree:managed -tree:profiler -tree:readytorun -tree:reflection -tree:tracing | ||
| -tree:JIT/BBT -tree:JIT/CodeGenBringUpTests -tree:JIT/Directed -tree:JIT/Generics -tree:JIT/IL_Conformance | ||
| -tree:JIT/Math -tree:JIT/Methodical -tree:JIT/PGO -tree:JIT/Performance -tree:JIT/Regression -tree:JIT/RyuJIT | ||
| -tree:JIT/Stress -tree:JIT/common -tree:JIT/jit64 -tree:JIT/opt -tree:JIT/superpmi | ||
| extraVariablesTemplates: | ||
| - template: /eng/pipelines/common/templates/runtimes/test-variables.yml | ||
|
|
||
| # | ||
| # Mono CoreCLR runtime Test executions using live libraries and LLVM Full AOT | ||
| # Only when Mono is changed | ||
| # This job runs the runtime intrinsics tests due to OOM issues | ||
| # | ||
| - template: /eng/pipelines/common/platform-matrix.yml | ||
| parameters: | ||
| jobTemplate: /eng/pipelines/common/global-build-job.yml | ||
| helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml | ||
| buildConfig: Release | ||
| runtimeFlavor: mono | ||
| platforms: | ||
| - linux_x64 | ||
| # Tracking issue: https://github.com/dotnet/runtime/issues/90427 | ||
| # - linux_arm64 | ||
| variables: | ||
| - name: timeoutPerTestInMinutes | ||
| value: 60 | ||
| - name: timeoutPerTestCollectionInMinutes | ||
| value: 180 | ||
| jobParameters: | ||
| testGroup: innerloop | ||
| nameSuffix: AllSubsets_Mono_LLVMFULLAOT_RuntimeIntrinsicsTests | ||
| runtimeVariant: llvmfullaot | ||
| buildArgs: -s mono+libs+clr.hosts+clr.iltools -c $(_BuildConfig) /p:MonoEnableLLVM=true | ||
| timeoutInMinutes: 400 | ||
| # Run the job when triggered via runtime-llvm, rolling builds, or on PRs containing Mono AOT LLVM changes | ||
| condition: >- | ||
| or( | ||
| and( | ||
| eq(variables['isLLVMOnlyBuild'], true), | ||
| or( | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'], true), | ||
| eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true) | ||
| ) | ||
| ), | ||
| and(eq(variables['isRollingBuild'], false), eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_aot_llvm.containsChange'], true)), | ||
| eq(variables['isRollingBuild'], true)) | ||
| postBuildSteps: | ||
| - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml | ||
| parameters: | ||
| creator: dotnet-bot | ||
| llvmAotStepContainer: linux_x64_llvmaot | ||
| testRunNamePrefixSuffix: Mono_Release | ||
| testBuildArgs: -tree:JIT/Intrinsics -tree:JIT/HardwareIntrinsics -tree:JIT/SIMD | ||
| extraVariablesTemplates: | ||
| - template: /eng/pipelines/common/templates/runtimes/test-variables.yml | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.