-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all of our pipelines to use the global-build-job to build CoreCL…
…R, Mono, and Libraries assets (#99179)
- Loading branch information
1 parent
c52c808
commit 663839e
Showing
98 changed files
with
2,329 additions
and
3,855 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 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
65 changes: 65 additions & 0 deletions
65
eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml
This file contains 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,65 @@ | ||
# Variables to resolve the paths and artifact names for the test assets used and produced to run the tests | ||
# in the src/tests tree. | ||
parameters: | ||
runtimeFlavor: 'coreclr' | ||
runtimeVariant: '' | ||
liveLibrariesBuildConfig: '' | ||
testGroup: 'innerloop' | ||
configOverride: '' | ||
|
||
variables: | ||
- name: binTestsPath | ||
value: '$(Build.SourcesDirectory)/artifacts/tests/coreclr' | ||
|
||
# Build product defines what we are trying to build, either coreclr or mono | ||
- name: buildProductRootFolderPath | ||
value: '$(Build.SourcesDirectory)/artifacts/bin/${{ parameters.runtimeFlavor }}/$(osGroup).$(archType).$(buildConfigUpper)' | ||
|
||
- ${{ if ne(parameters.runtimeFlavor, 'mono') }}: | ||
- name: managedGenericTestArtifactName | ||
value: 'CoreCLRManagedTestArtifacts_AnyOS_AnyCPU_$(buildConfig)' | ||
- ${{ else }}: | ||
- name: managedGenericTestArtifactName | ||
value: 'MonoManagedTestArtifacts_AnyOS_AnyCPU_$(buildConfig)' | ||
|
||
- name: managedTestArtifactRootFolderPath | ||
value: '$(binTestsPath)/$(osGroup).$(archType).$(buildConfigUpper)' | ||
|
||
- name: nativeTestArtifactConfig | ||
value: $(_BuildConfig) | ||
|
||
- ${{ if ne(parameters.configOverride, '') }}: | ||
- name: nativeTestArtifactConfig | ||
value: ${{ parameters.configOverride }} | ||
|
||
- name: nativeTestArtifactName | ||
value: 'CoreCLRNativeTestArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(nativeTestArtifactConfig)' | ||
|
||
- name: nativeTestArtifactRootFolderPath | ||
value: '$(binTestsPath)/obj/$(osGroup).$(archType).$(nativeTestArtifactConfig)' | ||
|
||
- name: microsoftNetSdkIlFolderPath | ||
value: '$(Build.SourcesDirectory)/.packages/microsoft.net.sdk.il' | ||
|
||
- name: microsoftNetSdkIlArtifactName | ||
value: 'MicrosoftNetSdkIlPackage_AnyOS_AnyCPU_$(buildConfig)' | ||
|
||
- name: librariesOverrideArg | ||
value : '' | ||
|
||
- ${{ if ne(parameters.liveLibrariesBuildConfig, '') }}: | ||
- name: librariesOverrideArg | ||
value : ' /p:LibrariesConfiguration=${{ parameters.liveLibrariesBuildConfig }}' | ||
|
||
- name: priorityArg | ||
value: '' | ||
|
||
# 'innerloop' and 'clrinterpreter' jobs run the Priority 0 tests; everything else runs the Priority 1 tests. | ||
# 'gc-standalone' is forced to run pri0 as well to start with. | ||
- ${{ if and(ne(parameters.testGroup, 'innerloop'), ne(parameters.testGroup, 'clrinterpreter'), ne(parameters.testGroup, 'gc-standalone'), ne(parameters.testGroup, 'gc-standalone-server') ) }}: | ||
- ${{ if ne(parameters.osGroup, 'windows') }}: | ||
- name: priorityArg | ||
value: 'priority1' | ||
- ${{ if eq(parameters.osGroup, 'windows') }}: | ||
- name: priorityArg | ||
value: '-priority 1' |
Oops, something went wrong.