libui/azure-pipelines/windows-install-ninja.yml

11 lines
528 B
YAML
Raw Normal View History

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-04 21:56:36 -05:00
steps:
2019-04-04 21:57:46 -05:00
- script: |
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'