-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
31 lines (27 loc) · 867 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
version: 1.0.{build}
os: Visual Studio 2015
environment:
matrix:
- ARCH: amd64
- ARCH: x86
install:
- set ORIGIN_PATH=%cd%
- set PATH=%PATH%;c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\
- git submodule update --init --recursive
- cd ..
- git clone https://github.com/google/googletest.git
- cd googletest
- git checkout ecd530865cefdfa7dea58e84f6aa1b548950363d
- cmake -G "Visual Studio 14 2015" .
- devenv.exe googletest\msvc\gtest-md.sln /Upgrade
- devenv.exe googletest\msvc\gtest-md.sln /Build
- mkdir googletest\lib
- copy googletest\msvc\gtest-md\Debug\gtestd.lib googletest\lib\gtest.lib
- copy googletest\msvc\gtest-md\Debug\gtest_main-mdd.lib googletest\lib\gtest_main.lib
- set GTEST_ROOT=%cd%\googletest
- cd %ORIGIN_PATH%
build_script:
- cmake -G "Visual Studio 14 2015" .
- cmake --build .
test_script:
- ctest -C Debug -VV