update the vmImage for build jobs (#17689)

* update vmImage for windows build

* update tar command

* use specific macos version
This commit is contained in:
Alan Ren
2021-11-16 21:08:11 -08:00
committed by GitHub
parent 812ab1cc91
commit 9e5a012dcd
2 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ jobs:
- job: macOS
condition: and(succeeded(), eq(variables['VSCODE_BUILD_MACOS'], 'true'), ne(variables['VSCODE_QUALITY'], 'saw'))
pool:
vmImage: macOS-latest
vmImage: 'macOS-10.15'
dependsOn:
- Compile
steps:
@@ -30,7 +30,7 @@ jobs:
- job: macOS_Signing
condition: and(succeeded(), eq(variables['VSCODE_BUILD_MACOS'], 'true'), eq(variables['signed'], true), ne(variables['VSCODE_QUALITY'], 'saw'))
pool:
vmImage: macOS-latest
vmImage: 'macOS-10.15'
dependsOn:
- macOS
steps:
@@ -53,7 +53,7 @@ jobs:
- job: Windows
condition: and(succeeded(), eq(variables['VSCODE_BUILD_WIN32'], 'true'))
pool:
vmImage: VS2017-Win2016
vmImage: 'windows-2019'
dependsOn:
- Compile
steps:

View File

@@ -27,7 +27,7 @@ steps:
- powershell: |
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
exec { tar --force-local -xzf $(Pipeline.Workspace)/compilation.tar.gz }
exec { tar -xf $(Pipeline.Workspace)/compilation.tar.gz }
displayName: Extract compilation output
- powershell: |