diff --git a/build/ci/job-template.yml b/build/ci/job-template.yml index 60742cea2d..360813d02c 100644 --- a/build/ci/job-template.yml +++ b/build/ci/job-template.yml @@ -68,7 +68,7 @@ jobs: # Extra MacOS step required to install OS-specific dependencies - ${{ if contains(parameters.pool.vmImage, 'macOS') }}: - script: | - brew update + $(Build.SourcesDirectory)/eng/common/native/install-dependencies.sh osx brew install libomp brew link libomp --force displayName: Install MacOS build dependencies diff --git a/build/vsts-ci.yml b/build/vsts-ci.yml index 03880b39b1..86b1e9f56b 100644 --- a/build/vsts-ci.yml +++ b/build/vsts-ci.yml @@ -143,7 +143,7 @@ extends: ArtifactName: pkgassets steps: - script: | - brew update + $(Build.SourcesDirectory)/eng/common/native/install-dependencies.sh osx brew install libomp brew link libomp --force displayName: Install build dependencies @@ -165,7 +165,7 @@ extends: ArtifactName: pkgassets steps: - script: | - brew update + $(Build.SourcesDirectory)/eng/common/native/install-dependencies.sh osx brew install libomp brew link libomp --force displayName: Install build dependencies