|
77 | 77 | creator: dotnet-bot |
78 | 78 | interpreter: true |
79 | 79 | testRunNamePrefixSuffix: Mono_$(_BuildConfig) |
| 80 | + |
| 81 | +# |
| 82 | +# Build the whole product using Native AOT and run runtime tests |
| 83 | +# |
| 84 | +- template: /eng/pipelines/common/platform-matrix.yml |
| 85 | + parameters: |
| 86 | + jobTemplate: /eng/pipelines/common/global-build-job.yml |
| 87 | + helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml |
| 88 | + buildConfig: Release |
| 89 | + runtimeFlavor: coreclr |
| 90 | + isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} |
| 91 | + isMacCatalystOnlyBuild: ${{ parameters.isMacCatalystOnlyBuild }} |
| 92 | + platforms: |
| 93 | + - maccatalyst_x64 |
| 94 | + - maccatalyst_arm64 |
| 95 | + variables: |
| 96 | + # map dependencies variables to local variables |
| 97 | + - name: librariesContainsChange |
| 98 | + value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ] |
| 99 | + - name: monoContainsChange |
| 100 | + value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ] |
| 101 | + jobParameters: |
| 102 | + testGroup: innerloop |
| 103 | + nameSuffix: AllSubsets_NativeAOT_RuntimeTests |
| 104 | + buildArgs: --cross -s clr.alljits+clr.tools+clr.nativeaotruntime+clr.nativeaotlibs+libs -c $(_BuildConfig) |
| 105 | + timeoutInMinutes: 180 |
| 106 | + # extra steps, run tests |
| 107 | + extraVariablesTemplates: |
| 108 | + - template: /eng/pipelines/common/templates/runtimes/test-variables.yml |
| 109 | + parameters: |
| 110 | + testGroup: innerloop |
| 111 | + postBuildSteps: |
| 112 | + - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml |
| 113 | + parameters: |
| 114 | + creator: dotnet-bot |
| 115 | + testBuildArgs: tree nativeaot/SmokeTests /p:BuildNativeAOTRuntimePack=true |
| 116 | + testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig) |
| 117 | + |
| 118 | +# |
| 119 | +# Build the whole product using Native AOT with the App Sandbox entitlement and run runtime tests |
| 120 | +# |
| 121 | +- template: /eng/pipelines/common/platform-matrix.yml |
| 122 | + parameters: |
| 123 | + jobTemplate: /eng/pipelines/common/global-build-job.yml |
| 124 | + helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml |
| 125 | + buildConfig: Release |
| 126 | + runtimeFlavor: coreclr |
| 127 | + isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }} |
| 128 | + isMacCatalystOnlyBuild: ${{ parameters.isMacCatalystOnlyBuild }} |
| 129 | + platforms: |
| 130 | + - maccatalyst_x64 |
| 131 | + - maccatalyst_arm64 |
| 132 | + variables: |
| 133 | + # map dependencies variables to local variables |
| 134 | + - name: librariesContainsChange |
| 135 | + value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ] |
| 136 | + - name: monoContainsChange |
| 137 | + value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ] |
| 138 | + jobParameters: |
| 139 | + testGroup: innerloop |
| 140 | + nameSuffix: AllSubsets_NativeAOT_RuntimeTests_AppSandbox |
| 141 | + buildArgs: --cross -s clr.alljits+clr.tools+clr.nativeaotruntime+clr.nativeaotlibs+libs -c $(_BuildConfig) |
| 142 | + timeoutInMinutes: 180 |
| 143 | + # extra steps, run tests |
| 144 | + extraVariablesTemplates: |
| 145 | + - template: /eng/pipelines/common/templates/runtimes/test-variables.yml |
| 146 | + parameters: |
| 147 | + testGroup: innerloop |
| 148 | + postBuildSteps: |
| 149 | + - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml |
| 150 | + parameters: |
| 151 | + creator: dotnet-bot |
| 152 | + testBuildArgs: tree nativeaot/SmokeTests /p:BuildNativeAOTRuntimePack=true /p:DevTeamProvisioning=adhoc /p:EnableAppSandbox=true |
| 153 | + testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig) |
0 commit comments