Skip to content

Commit 20193b6

Browse files
authored
Add initial appveyor configuration / vcpkg (#191)
1 parent 18339bc commit 20193b6

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

appveyor.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: '1.0.1#{build}'
2+
3+
shallow_clone: true
4+
5+
os:
6+
- Visual Studio 2015
7+
8+
environment:
9+
matrix:
10+
- TOOLSET: vs2015
11+
12+
install:
13+
- ps: Start-FileDownload 'https://github.com/premake/premake-core/releases/download/v5.0.0-alpha11/premake-5.0.0-alpha11-windows.zip' 'premake.zip'
14+
- 7z x premake.zip
15+
- premake5.exe %TOOLSET%
16+
- git clone https://github.com/Microsoft/vcpkg
17+
- md vcpkg\downloads\nuget-3.5.0
18+
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -FileName %appveyor_build_folder%\vcpkg\downloads\nuget-3.5.0\nuget.exe
19+
- 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
20+
- 7z x %appveyor_build_folder%\vcpkg\downloads\cmake-3.8.0-rc1-win32-x86.zip
21+
- cd vcpkg
22+
- powershell -exec bypass -File scripts\bootstrap.ps1
23+
- vcpkg integrate install
24+
- vcpkg install libpng
25+
- cd ..
26+
27+
configuration:
28+
- Debug
29+
- Release
30+
31+
build:
32+
project: guetzli.sln

guetzli/guetzli.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
#include <algorithm>
1718
#include <cstdio>
1819
#include <cstdlib>
1920
#include <exception>

0 commit comments

Comments
 (0)