Skip to content

Commit

Permalink
Add initial appveyor configuration / vcpkg (google#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
eustas authored Apr 21, 2017
1 parent 18339bc commit 20193b6
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: '1.0.1#{build}'

shallow_clone: true

os:
- Visual Studio 2015

environment:
matrix:
- TOOLSET: vs2015

install:
- ps: Start-FileDownload 'https://github.com/premake/premake-core/releases/download/v5.0.0-alpha11/premake-5.0.0-alpha11-windows.zip' 'premake.zip'
- 7z x premake.zip
- premake5.exe %TOOLSET%
- git clone https://github.com/Microsoft/vcpkg
- md vcpkg\downloads\nuget-3.5.0
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -FileName %appveyor_build_folder%\vcpkg\downloads\nuget-3.5.0\nuget.exe
- appveyor DownloadFile https://cmake.org/files/v3.8/cmake-3.8.0-rc1-win32-x86.zip -FileName %appveyor_build_folder%\vcpkg\downloads\cmake-3.8.0-rc1-win32-x86.zip
- 7z x %appveyor_build_folder%\vcpkg\downloads\cmake-3.8.0-rc1-win32-x86.zip
- cd vcpkg
- powershell -exec bypass -File scripts\bootstrap.ps1
- vcpkg integrate install
- vcpkg install libpng
- cd ..

configuration:
- Debug
- Release

build:
project: guetzli.sln
1 change: 1 addition & 0 deletions guetzli/guetzli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* limitations under the License.
*/

#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <exception>
Expand Down

0 comments on commit 20193b6

Please sign in to comment.