forked from gadomski/cpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
39 lines (31 loc) · 1.1 KB
/
.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
38
39
version: 1.0.{build}
branches:
except:
- gh-pages
skip_commits:
message: /(\[skip ci\]|\[ci skip\])/
os: Visual Studio 2015
platform: x64
configuration: Release
matrix:
fast_finish: true
install:
- ps: cd C:\projects
- ps: wget http://bitbucket.org/eigen/eigen/get/3.2.8.zip -OutFile eigen.zip
- cmd: 7z x eigen.zip -y > nul
- cmd: git clone https://github.com/gadomski/fgt
- ps: mkdir fgt\build
- ps: cd fgt\build
- cmd: cmake -G "Visual Studio 14 2015 Win64" -DEIGEN3_INCLUDE_DIR=C:\projects\eigen-eigen-07105f7124f9 -DWITH_TESTS=OFF -DCMAKE_INSTALL_PREFIX=C:\projects\local -DBUILD_SHARED_LIBS=OFF ..
- cmd: msbuild INSTALL.vcxproj
- ps: cd ..\..\cpd
before_build:
# TODO use build matrix to test with and w/o libfgt
- cmd: cmake -G "Visual Studio 14 2015 Win64" -DEIGEN3_INCLUDE_DIR=C:\projects\eigen-eigen-07105f7124f9 -DCMAKE_INSTALL_PREFIX=C:\projects\local -Dgtest_force_shared_crt=ON -DBUILD_SHARED_LIBS=OFF -DWITH_FGT=ON .
build:
parallel: true
project: cpd.sln
verbosity: minimal
test_script:
# TODO build examples/ on Windoze
- ctest -V --output-on-failure -C Release