aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: 452ced5666b7ab68ee4a8fda64737d5f80a3291c (plain) (blame)
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
image: Visual Studio 2015
version: '{build}'

branches:
  except:
    - gh-pages

platform: x64


environment:
  matrix:
  - CMAKE_GENERATOR: "Visual Studio 14 2015 Win64"

# Via https://github.com/apitrace/apitrace/blob/master/appveyor.yml

before_build:
- cmake -H. -Bbuild -G "%CMAKE_GENERATOR%"
- C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /?

build_script:
- if "%APPVEYOR_REPO_TAG%"=="true" (set CONFIGURATION=RelWithDebInfo) else (set CONFIGURATION=Debug)
- cmake --build build --config "%CONFIGURATION%"

# TODO enable CMocka tests, maybe package the binaries
# TODO add MinGW
# TODO add older MSVC