diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2022-02-03 18:34:40 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2022-02-03 18:35:34 +0300 |
commit | e139797d6d2675841bf0c7c63a3f3bbffee0b3e0 (patch) | |
tree | b78c242d97e604052c4b184d788035015dd106d6 | |
parent | 20080e62c2ea6ed059be57b88268dd8cd28604e6 (diff) |
Switch to NetCore1ESPool-Internal instead of AzDO hosted pool in internal build
-rw-r--r-- | azure-pipelines.yml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 37df976ff249..5435108964cb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -32,7 +32,6 @@ stages: strategy: matrix: x64: - vmImageName: ubuntu-20.04 assetManifestOS: linux assetManifestPlatform: x64 imagename: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-bfcd90a-20200121150017 @@ -40,7 +39,6 @@ stages: archflag: --arch x64 LLVMTableGenArg: arm64: - vmImageName: ubuntu-20.04 assetManifestOS: linux assetManifestPlatform: arm64 imagename: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-arm64-cfdd435-20200121150126 @@ -48,7 +46,6 @@ stages: archflag: --arch arm64 LLVMTableGenArg: /p:LLVMTableGenPath=$(Build.SourcesDirectory)/artifacts/obj/BuildRoot-x64/bin/llvm-tblgen arm: - vmImageName: ubuntu-20.04 assetManifestOS: linux assetManifestPlatform: arm imagename: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-09ec757-20200320131433 @@ -56,7 +53,11 @@ stages: archflag: --arch arm LLVMTableGenArg: /p:LLVMTableGenPath=$(Build.SourcesDirectory)/artifacts/obj/BuildRoot-x64/bin/llvm-tblgen pool: - vmImage: $(vmImageName) + ${{ if eq(variables['System.TeamProject'], 'public') }}: + vmImage: ubuntu-20.04 + ${{ if eq(variables['System.TeamProject'], 'internal') }}: + name: NetCore1ESPool-Internal + demands: ImageOverride -equals Build.Ubuntu.1804.Amd64 container: image: $(imagename) steps: @@ -89,19 +90,17 @@ stages: strategy: matrix: x64: - vmImageName: macOS-10.15 assetManifestOS: osx assetManifestPlatform: x64 archflag: --arch x64 LLVMTableGenArg: arm64: - vmImageName: macOS-10.15 assetManifestOS: osx assetManifestPlatform: arm64 archflag: --arch arm64 LLVMTableGenArg: /p:LLVMTableGenPath=$(Build.SourcesDirectory)/artifacts/obj/BuildRoot-x64/bin/llvm-tblgen pool: - vmImage: $(vmImageName) + vmImage: macOS-10.15 steps: - bash: | set -ex @@ -130,25 +129,26 @@ stages: strategy: matrix: x64: - vmImageName: windows-2019 assetManifestOS: win assetManifestPlatform: x64 archflag: -arch x64 LLVMTableGenArg: arm64: - vmImageName: windows-2019 assetManifestOS: win assetManifestPlatform: arm64 archflag: -arch arm64 LLVMTableGenArg: /p:LLVMTableGenPath=$(Build.SourcesDirectory)\artifacts\obj\BuildRoot-x64\bin\llvm-tblgen.exe arm: - vmImageName: windows-2019 assetManifestOS: win assetManifestPlatform: arm archflag: -arch arm LLVMTableGenArg: /p:LLVMTableGenPath=$(Build.SourcesDirectory)\artifacts\obj\BuildRoot-x64\bin\llvm-tblgen.exe pool: - vmImage: $(vmImageName) + ${{ if eq(variables['System.TeamProject'], 'public') }}: + vmImage: windows-2019 + ${{ if eq(variables['System.TeamProject'], 'internal') }}: + name: NetCore1ESPool-Internal + demands: ImageOverride -equals Build.Server.Amd64.VS2019 steps: - bash: | set -ex |