forked from KjellKod/g3log
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
38 lines (28 loc) · 893 Bytes
/
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
environment:
P: "c:/projects/libs"
# Operating system (build VM template)
os: Visual Studio 2015
# scripts that are called at very beginning, before repo cloning
#init:
# clone directory
clone_folder: c:\projects\g3log
platform: x64
configuration: Release
install:
# by default, all script lines are interpreted as batch
build:
project: c:\projects\g3log\build\g3log.sln
# scripts to run before build
before_build:
- echo Running cmake...
- cd c:\projects\g3log\3rdParty\gtest
- 7z x gtest-1.7.0.zip
- cd c:\projects\g3log\
- mkdir build
- cd build
- cmake -G "Visual Studio 14 2015 Win64" -DADD_G3LOG_UNIT_TEST=ON -DUSE_DYNAMIC_LOGGING_LEVELS=ON -DCHANGE_G3LOG_DEBUG_TO_DBUG=ON ..
- msbuild g3log.sln /p:Configuration=Release
# scripts to run after build
after_build:
- cmd /c Release\g3log-FATAL-contract.exe || exit /B 0
- ctest -C Release --verbose