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

11 lines
548 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!)
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'
- shell: |
mkdir C:\ninja
powershell -Command "Expand-Archive -LiteralPath C:\ninja-win.zip -DestinationPath C:\ninja"
@echo ##vso[task.prependpath]C:\ninja
displayName: 'Install Ninja'