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!)
2019-04-05 00:29:43 -05:00
2019-04-04 21:56:36 -05:00
steps :
2019-04-04 21:57:46 -05:00
- script : |
2019-04-04 23:54:51 -05:00
powershell -Command "Invoke-WebRequest https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip -OutFile C:\ninja-win.zip"
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'