From dfef8c304fb09497d70e000e31345832a250d6d5 Mon Sep 17 00:00:00 2001 From: Manish Godse <61718172+mangod9@users.noreply.github.com> Date: Tue, 31 Mar 2020 14:20:16 -0700 Subject: [PATCH] libraries test should depend on full product This fix is similar to artifact download logic done in build-base.yml --- eng/pipelines/libraries/build-job.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/libraries/build-job.yml b/eng/pipelines/libraries/build-job.yml index 8ca2cb9eb63..a06e927c972 100644 --- a/eng/pipelines/libraries/build-job.yml +++ b/eng/pipelines/libraries/build-job.yml @@ -51,9 +51,9 @@ jobs: dependsOn: - ${{ if ne(parameters.osGroup, 'WebAssembly') }}: # Use corelib dependencies for coreclr - - ${{ if ne(parameters.runtimeFlavor, 'mono') }}: + - ${{ if and(ne(parameters.runtimeFlavor, 'mono'), eq(parameters.testScope, '')) }}: - ${{ format('coreclr_corelib_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.liveRuntimeBuildConfig) }} - - ${{ if eq(parameters.runtimeFlavor, 'mono') }}: + - ${{ if or(eq(parameters.runtimeFlavor, 'mono'), ne(parameters.testScope, '')) }}: - ${{ format('{0}_product_build_{1}{2}_{3}_{4}', parameters.runtimeFlavor, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.liveRuntimeBuildConfig) }} - ${{ if eq(parameters.osGroup, 'WebAssembly') }}: - ${{ format('{0}_product_build_{1}{2}_{3}_{4}', parameters.runtimeFlavor, 'linux', parameters.osSubgroup, 'x64', parameters.liveRuntimeBuildConfig) }} -- 2.34.1