blob: 53ea97a605bd76438cfc3222e10fc5339d454bb2 [file] [log] [blame]
Martin Hořeňovský29fa1ed2017-02-14 09:37:37 +01001# version string format -- This will be overwritten later anyway
2version: "{build}"
3
4# Disable the dead branch for v2 development
5branches:
6 except:
7 - develop-v2
8
9os:
10 - Visual Studio 2013
11 - Visual Studio 2015
Martin Hořeňovský09e48302017-04-06 11:01:49 +020012 - Visual Studio 2017
Martin Hořeňovský29fa1ed2017-02-14 09:37:37 +010013
14init:
15 - git config --global core.autocrlf input
16 # Set build version to git commit-hash
17 - ps: Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_BRANCH) - $($env:APPVEYOR_REPO_COMMIT)"
18
19# fetch repository as zip archive
20shallow_clone: true
21
22# Win32 and x64 are CMake-compatible solution platform names.
23# This allows us to pass %PLATFORM% to CMake -A.
24platform:
25 - Win32
26 - x64
27
28# build Configurations, i.e. Debug, Release, etc.
29configuration:
30 - Debug
31 - Release
32
33#Cmake will autodetect the compiler, but we set the arch
34before_build:
35 - echo Running cmake...
36 - cmake -H. -BBuild -A%PLATFORM%
37
38# build with MSBuild
39build:
40 project: Build\CatchSelfTest.sln # path to Visual Studio solution or project
41 parallel: true # enable MSBuild parallel builds
42 verbosity: normal # MSBuild verbosity level {quiet|minimal|normal|detailed}
43
44test_script:
45 - cd Build
46 - ctest -V -j 2 -C %CONFIGURATION%