mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Merge pull request #20494 from atom/upgrade-windows-azuredevops-image-version-take-2
Bump Azure Devops Windows images to version vs2017-win2016
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
||||
|
||||
- job: Release
|
||||
pool:
|
||||
vmImage: vs2015-win2012r2 # needed for Python 2.7 and gyp
|
||||
vmImage: vs2017-win2016
|
||||
|
||||
dependsOn:
|
||||
- GetReleaseVersion
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
buildArch: x86
|
||||
|
||||
pool:
|
||||
vmImage: vs2015-win2012r2 # needed for python 2.7 and gyp
|
||||
vmImage: vs2017-win2016
|
||||
|
||||
variables:
|
||||
AppName: $[ dependencies.GetReleaseVersion.outputs['Version.AppName'] ]
|
||||
@@ -20,6 +20,10 @@ jobs:
|
||||
IsSignedZipBranch: $[ dependencies.GetReleaseVersion.outputs['Version.IsSignedZipBranch'] ]
|
||||
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '2.7'
|
||||
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: 10.2.1
|
||||
@@ -35,6 +39,10 @@ jobs:
|
||||
npm-windows-upgrade --no-spinner --no-prompt --npm-version 6.2.0
|
||||
displayName: Install npm 6.2.0
|
||||
|
||||
- script: |
|
||||
npm install --global --production windows-build-tools@4.0
|
||||
displayName: Install windows build tools
|
||||
|
||||
- script: |
|
||||
cd script\vsts
|
||||
npm install
|
||||
@@ -62,7 +70,7 @@ jobs:
|
||||
BUILD_ARCH: $(buildArch)
|
||||
CI: true
|
||||
CI_PROVIDER: VSTS
|
||||
NPM_BIN_PATH: "D:\\a\\_tool\\node\\10.2.1\\x64\\npm.cmd"
|
||||
NPM_BIN_PATH: "C:\\hostedtoolcache\\windows\\node\\10.2.1\\x64\\npm.cmd"
|
||||
displayName: Bootstrap build environment
|
||||
condition: ne(variables['CacheRestored'], 'true')
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
|
||||
- job: UploadArtifacts
|
||||
pool:
|
||||
vmImage: vs2015-win2012r2 # needed for python 2.7 and gyp
|
||||
vmImage: vs2017-win2016
|
||||
|
||||
dependsOn:
|
||||
- GetReleaseVersion
|
||||
|
||||
Reference in New Issue
Block a user