aboutsummaryrefslogtreecommitdiff
path: root/flatcc/appveyor.yml
blob: 87499a9610b19f48622cac32aba81eb429769e38 (plain)
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
version: "win#{build}"

image: Visual Studio 2015

init:
  - git config --global core.autocrlf input
  - cmake --version
  - msbuild /version

shallow_clone: true

clone_folder: c:\projects\flatcc

platform:
  - Win32 
  - x64

configuration:
  - Debug
  - Release

skip_tags: true

before_build:
  - echo Running cmake...
  - cd c:\projects\flatcc
  - mkdir build\MSVC
  - cd build\MSVC
  - if "%platform%"=="Win32" cmake -G "Visual Studio 14 2015" -DCMAKE_BUILD_TYPE=%configuration% ..\..
  - if "%platform%"=="x64" cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=%configuration% ..\..

build:
  parallel: true # enable MSBuild parallel builds
  project: c:\projects\flatcc\build\MSVC\FlatCC.sln

test_script:
  - ctest -C "%configuration%" -VV