Skip to content

Commit

Permalink
[CI] Use supported versions of Windows (#381)
Browse files Browse the repository at this point in the history
* [CI] Use supported versions of Windows

* Use MSVC 2019
  • Loading branch information
hcho3 authored May 15, 2022
1 parent 4cc4f7e commit fcb8ad2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
targetPath: 'runtime/python/dist/'
- job: win_build
pool:
vmImage: 'vs2017-win2016'
vmImage: 'windows-2019'
steps:
- checkout: self
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
Expand All @@ -61,7 +61,7 @@ jobs:
- script: |
mkdir build
cd build
cmake .. -G"Visual Studio 15 2017 Win64" -DBUILD_CPP_TEST=ON
cmake .. -G"Visual Studio 16 2019" -A x64 -DBUILD_CPP_TEST=ON
displayName: 'Generating Visual Studio solution...'
- task: MSBuild@1
inputs:
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
CODECOV_TOKEN: afe9868c-2c27-4853-89fa-4bc5d3d2b255
- job: win_python_coverage
pool:
vmImage: 'windows-latest'
vmImage: 'windows-2019'
steps:
- checkout: self
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
- job: win_python_wheel_test
dependsOn: win_build
pool:
vmImage: 'windows-latest'
vmImage: 'windows-2019'
steps:
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
displayName: 'Add conda to PATH'
Expand Down

0 comments on commit fcb8ad2

Please sign in to comment.