2019-04-04 21:55:23 -05:00
# 4 april 2019
2019-04-04 21:56:36 -05:00
# why this? because choco isn't available on the VS2015 image and is extremely slow on the VS2017 one (it should not take 2.5 minutes to install just ninja!)
steps :
2019-04-04 21:55:23 -05:00
- powershell : 'Invoke-WebRequest https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip -OutFile C:\ninja-win.zip'
displayName : 'Download Ninja'
2019-04-04 21:57:46 -05:00
- script : |
2019-04-04 21:55:23 -05:00
mkdir C:\ninja
powershell -Command "Expand-Archive -LiteralPath C:\ninja-win.zip -DestinationPath C:\ninja"
@echo ##vso[task.prependpath]C:\ninja
displayName : 'Install Ninja'