Skip to content

Commit

Permalink
Merge pull request llvm#192 from steveisok/bump-vs-image
Browse files Browse the repository at this point in the history
Bump windows images to VS2022
  • Loading branch information
steveisok authored Apr 15, 2022
2 parents eda35d1 + da0a362 commit 05ec0c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,11 @@ stages:
LLVMTableGenArg: /p:LLVMTableGenPath=$(Build.SourcesDirectory)\artifacts\obj\BuildRoot-x64\bin\llvm-tblgen.exe
pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
vmImage: windows-2019
name: NetCore1ESPool-Public
demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre.Open
${{ if eq(variables['System.TeamProject'], 'internal') }}:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Server.Amd64.VS2019
demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre
steps:
- script: |
git clean -ffdx
Expand Down
2 changes: 1 addition & 1 deletion llvm.proj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

:: Try to locate installed VisualStudio VC environment.
if "%VCINSTALLDIR%" == "" if exist "%VSWHERE_TOOLS_BIN%" (
for /f "tokens=*" %%a in ('"%VSWHERE_TOOLS_BIN%" -latest -property installationPath') do (
for /f "tokens=*" %%a in ('"%VSWHERE_TOOLS_BIN%" -prerelease -property installationPath') do (
set VS_VCINSTALL_DIR=%%a\VC\
)
)
Expand Down

0 comments on commit 05ec0c7

Please sign in to comment.