Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/pipelines/common/templates/runtimes/build-test-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- name: liveRuntimeBuildParams
value: ${{ format('clr.corelib+libs.ref+libs.native -rc {0} -c {1} -arch {2} -ci', coalesce(parameters.liveRuntimeBuildConfig, parameters.buildConfig), parameters.liveLibrariesBuildConfig, parameters.archType) }}
- name: liveRuntimeArtifactsPathArg
value: ${{ format('/p:CoreCLROverridePath=$(Build.SourcesDirectory)/artifacts/bin/mono/{0}{1}.{2}.{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, coalesce(parameters.liveRuntimeBuildConfig, parameters.buildConfig)) }}
value: ${{ format('/p:CoreCLROverridePath=$(Build.SourcesDirectory)/artifacts/bin/coreclr/{0}{1}.{2}.{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, coalesce(parameters.liveRuntimeBuildConfig, parameters.buildConfig)) }}
- ${{ if eq(parameters.runtimeFlavor, 'mono') }}:
- name: liveRuntimeBuildParams
value: ${{ format('mono.corelib+libs.ref+libs.native -rc {0} -c {1} -arch {2} -ci', coalesce(parameters.liveRuntimeBuildConfig, parameters.buildConfig), parameters.liveLibrariesBuildConfig, parameters.archType) }}
Expand Down
3 changes: 2 additions & 1 deletion src/tests/Common/override.targets
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
>

<ItemGroup>
<ReferencePath Include="$(RepoRoot)\artifacts\bin\$(RuntimeFlavor)\$(TargetOS).$(TargetArchitecture).$(Configuration)\IL\System.Private.CoreLib.dll"/>
<ReferencePath Condition="'$(RuntimeFlavor)' == 'Mono'" Include="$(MonoArtifactsPath)\IL\System.Private.CoreLib.dll"/>
<ReferencePath Condition="'$(RuntimeFlavor)' != 'Mono'" Include="$(CoreCLRArtifactsPath)\IL\System.Private.CoreLib.dll"/>
</ItemGroup>
</Target>

Expand Down