From 405bf39136c9ced70ac33c5909bd5da9386a95de Mon Sep 17 00:00:00 2001 From: frank-dong-ms <55860649+frank-dong-ms@users.noreply.github.com> Date: Wed, 19 Feb 2020 12:24:56 -0800 Subject: [PATCH] set library path for centos and ubuntu --- build/ci/job-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/ci/job-template.yml b/build/ci/job-template.yml index dc4f6499ed..cd97b22e4c 100644 --- a/build/ci/job-template.yml +++ b/build/ci/job-template.yml @@ -48,7 +48,7 @@ jobs: - ${{ if eq(parameters.pool.name, 'Hosted macOS High Sierra') }}: - script: brew update && brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/f5b1ac99a7fba27c19cee0bc4f036775c889b359/Formula/libomp.rb && brew unlink python@2 && brew install mono-libgdiplus gettext && brew link gettext --force && brew link libomp --force displayName: Install build dependencies - - ${{ if and( eq(parameters.nightlyBuild, 'true'), eq(parameters.name, 'Ubuntu_x64_NetCoreApp21')) }}: + - ${{ if and( eq(parameters.nightlyBuild, 'true'), eq(parameters.pool.name, 'Hosted Ubuntu 1604')) }}: - bash: echo "##vso[task.setvariable variable=LD_LIBRARY_PATH]$(nightlyBuildRunPath):$LD_LIBRARY_PATH" displayName: Set LD_LIBRARY_PATH for Ubuntu to locate Native shared library in current running path - script: ${{ parameters.buildScript }} -$(_configuration) -buildArch=${{ parameters.architecture }}