install ninja using Chocolatey

This commit is contained in:
Patrick von Reth 2015-07-21 14:14:21 +02:00
parent 8cf402ccbc
commit 69dd2d2d97
2 changed files with 3 additions and 3 deletions

View File

@ -10,6 +10,8 @@ test: off
cache: cache:
- work\git -> ci\appveyor.ps1 - work\git -> ci\appveyor.ps1
- work\install -> ci\appveyor.ps1 - work\install -> ci\appveyor.ps1
- C:\ProgramData\chocolatey\bin -> ci\appveyor.ps1
- C:\ProgramData\chocolatey\lib -> ci\appveyor.ps1
environment: environment:
matrix: matrix:

View File

@ -57,9 +57,7 @@ if ( !(Test-Path "$env:APPVEYOR_BUILD_FOLDER\work\install" ) )
mkdir $env:APPVEYOR_BUILD_FOLDER\work\install mkdir $env:APPVEYOR_BUILD_FOLDER\work\install
mkdir $env:APPVEYOR_BUILD_FOLDER\work\git mkdir $env:APPVEYOR_BUILD_FOLDER\work\git
Start-FileDownload https://github.com/martine/ninja/releases/download/v1.6.0/ninja-win.zip cinst ninja
7z e ninja-win.zip -o$INSTALL_DIR
rm ninja-win.zip
cd $env:APPVEYOR_BUILD_FOLDER\work\git cd $env:APPVEYOR_BUILD_FOLDER\work\git
git clone -q git://anongit.kde.org/extra-cmake-modules.git git clone -q git://anongit.kde.org/extra-cmake-modules.git