1version: 1.0.{build}
2os: Visual Studio 2015
3test: off
4clone_folder: C:\projects\InstantMeshes
5branches:
6  only:
7    - master
8install:
9  - git submodule update --init --recursive
10  - cinstall: python
11build_script:
12  - echo Running cmake...
13  - cd c:\projects\InstantMeshes
14  - cmake -G "Visual Studio 14 2015 Win64"
15  - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
16  - set MSBuildOptions=/v:m /p:Configuration=Release /logger:%MSBuildLogger%
17  - msbuild %MSBuildOptions% InstantMeshes.sln
18  - cd Release
19  - 7z a ../instant-meshes-windows.zip "Instant Meshes.exe"
20  - cd ..
21  - appveyor PushArtifact instant-meshes-windows.zip -FileName instant-meshes-windows.zip
22deploy:
23  provider: S3
24  region: eu-central-1
25  access_key_id: AKIAJRIZYZRNQUXO7WZA
26  secret_access_key:
27    secure: Vy3I/MR5NtWDTXLbHcUzS6cwCSKZa/M8JYQZwHrip7cVW50Aez239OeqpC2je9yd
28  bucket: instant-meshes
29  set_public: true
30  folder: Release
31