diff --git a/eng/pipelines/coreclr/hardware-intrinsics.yml b/eng/pipelines/coreclr/hardware-intrinsics.yml new file mode 100644 index 00000000000000..e1c4497fadab0d --- /dev/null +++ b/eng/pipelines/coreclr/hardware-intrinsics.yml @@ -0,0 +1,141 @@ +trigger: none +pr: + branches: + include: + - main + paths: + include: + - eng/pipelines/** + - src/coreclr/jit/** + - src/tests/Common/GenerateHWIntrinsicTests/** + - src/tests/JIT/HardwareIntrinsics/** + +variables: + - template: /eng/pipelines/common/variables.yml + +extends: + template: /eng/pipelines/common/templates/pipeline-with-resources.yml + parameters: + isOfficialBuild: false + stages: + - stage: Build + jobs: + - 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 + platforms: + - windows_x86 + - windows_x64 + variables: + - name: timeoutPerTestInMinutes + value: 60 + - name: timeoutPerTestCollectionInMinutes + value: 180 + jobParameters: + testGroup: outerloop + nameSuffix: CoreCLR + buildArgs: -s clr+libs -c $(_BuildConfig) + timeoutInMinutes: 360 + postBuildSteps: + - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml + parameters: + creator: dotnet-bot + testBuildArgs: 'tree JIT/HardwareIntrinsics' + testRunNamePrefixSuffix: CoreCLR + extraVariablesTemplates: + - template: /eng/pipelines/common/templates/runtimes/test-variables.yml + parameters: + testGroup: outerloop + + - 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 + platforms: + - linux_arm + - linux_x64 + - osx_arm64 + variables: + - name: timeoutPerTestInMinutes + value: 60 + - name: timeoutPerTestCollectionInMinutes + value: 180 + jobParameters: + testGroup: outerloop + nameSuffix: CoreCLR + buildArgs: -s clr+libs -c $(_BuildConfig) + timeoutInMinutes: 360 + postBuildSteps: + - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml + parameters: + creator: dotnet-bot + testBuildArgs: '-tree:JIT/HardwareIntrinsics' + testRunNamePrefixSuffix: CoreCLR + extraVariablesTemplates: + - template: /eng/pipelines/common/templates/runtimes/test-variables.yml + parameters: + testGroup: outerloop + + - 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 + platforms: + - windows_x86 + - windows_x64 + variables: + - name: timeoutPerTestInMinutes + value: 60 + - name: timeoutPerTestCollectionInMinutes + value: 180 + jobParameters: + testGroup: outerloop + nameSuffix: NativeAOT + buildArgs: -s clr.aot+libs.native+libs.sfx -c $(_BuildConfig) + timeoutInMinutes: 360 + postBuildSteps: + - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml + parameters: + creator: dotnet-bot + testBuildArgs: 'tree JIT/HardwareIntrinsics' + testRunNamePrefixSuffix: NativeAOT + nativeAotTest: true + extraVariablesTemplates: + - template: /eng/pipelines/common/templates/runtimes/test-variables.yml + parameters: + testGroup: outerloop + + - 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 + platforms: + - linux_arm + - linux_x64 + - osx_arm64 + variables: + - name: timeoutPerTestInMinutes + value: 60 + - name: timeoutPerTestCollectionInMinutes + value: 180 + jobParameters: + testGroup: outerloop + nameSuffix: NativeAOT + buildArgs: -s clr.aot+libs.native+libs.sfx -c $(_BuildConfig) + timeoutInMinutes: 360 + postBuildSteps: + - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml + parameters: + creator: dotnet-bot + testBuildArgs: '-tree:JIT/HardwareIntrinsics' + testRunNamePrefixSuffix: NativeAOT + nativeAotTest: true + extraVariablesTemplates: + - template: /eng/pipelines/common/templates/runtimes/test-variables.yml + parameters: + testGroup: outerloop diff --git a/eng/pipelines/runtime.yml b/eng/pipelines/runtime.yml index 9ac64ec4d2387b..4b8806316afe4d 100644 --- a/eng/pipelines/runtime.yml +++ b/eng/pipelines/runtime.yml @@ -604,7 +604,7 @@ extends: - template: /eng/pipelines/coreclr/nativeaot-post-build-steps.yml parameters: creator: dotnet-bot - testBuildArgs: 'nativeaot tree ";nativeaot;Loader;Interop;JIT/HardwareIntrinsics;" /p:BuildNativeAotFrameworkObjects=true' + testBuildArgs: 'nativeaot tree ";nativeaot;Loader;Interop;" /p:BuildNativeAotFrameworkObjects=true' liveLibrariesBuildConfig: Release testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig) extraVariablesTemplates: diff --git a/src/tests/JIT/HardwareIntrinsics/Directory.Build.props b/src/tests/JIT/HardwareIntrinsics/Directory.Build.props index 5ae46d7b86415d..1792eae3f20bfb 100644 --- a/src/tests/JIT/HardwareIntrinsics/Directory.Build.props +++ b/src/tests/JIT/HardwareIntrinsics/Directory.Build.props @@ -9,5 +9,6 @@ true false + 1