forked from proydakov/cppzone
/
appveyor.yml
40 lines (32 loc) · 1.14 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Specify version format
version: "{build}"
# Operating system (build VM template)
os: Visual Studio 2015
# build platform, i.e. Win32 (instead of x86), x64, Any CPU. This setting is optional.
platform:
- Win32
- x64
# build Configuration, i.e. Debug, Release, etc.
configuration:
# - Debug
- Release
# scripts that are called at very beginning, before repo cloning
init:
- cmd: cmake --version
- cmd: msbuild /version
# clone directory
clone_folder: C:\projects\cppzone
# scripts that run after cloning repository
install:
- cmd: sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- cmd: git submodule update --init --recursive
# scripts to run before build
before_build:
- cmd: cd C:\projects\cppzone
- cmd: md build
- cmd: cd build
# We generate project files for Visual Studio 12 because the boost binaries installed on the test server are for Visual Studio 12.
- cmd: if "%platform%"=="Win32" cmake -G "Visual Studio 14" -DCMAKE_BUILD_TYPE="%configuration%" ..
- cmd: if "%platform%"=="x64" cmake -G "Visual Studio 14 Win64" -DCMAKE_BUILD_TYPE="%configuration%" ..
build:
project: C:\projects\cppzone\build\I++.sln