forked from tiny-dnn/tiny-dnn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (28 loc) · 1.32 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
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
environment:
home: C:\projects
cmake: C:\projects\cmake-3.4.1-win32-x86\bin\cmake.exe
version: '{branch}-{build}'
os: Visual Studio 2015
install:
# Clone submodule
- git submodule update --init --recursive
# Get a recent CMake and our dependencies (Eigen, OpenCV, Boost):
- cmd: cd %home%
- ps: wget https://cmake.org/files/v3.4/cmake-3.4.1-win32-x86.zip -OutFile cmake.zip
- cmd: 7z x cmake.zip -o"C:\projects" -y > nul # will extract to cmake-3.4.1-win32-x86\
- cmd: '%cmake% --version'
# gradient-check test is too slow to execute on debug mode
configuration: Release
before_build:
- cmd: mkdir build
- cmd: cd build
- cmd: '%cmake% -G "Visual Studio 14 Win64" -DUSE_SSE=ON -DBUILD_TESTS=ON -DBUILD_EXAMPLES=OFF -DBOOST_ROOT=C:\Libraries\boost_1_59_0 -DBOOST_LIBRARYDIR=C:\Libraries\boost_1_59_0\lib64-msvc-14.0 -DCMAKE_INSTALL_PREFIX=..\install ..\tiny-cnn'
after_build:
- cmd: 'cd C:\projects\build\bin\Release'
- cmd: 'copy "C:\Libraries\boost_1_59_0\lib64-msvc-14.0\boost_system-vc140-mt-1_59.dll" .'
- cmd: 'copy "C:\Libraries\boost_1_59_0\lib64-msvc-14.0\boost_filesystem-vc140-mt-1_59.dll" .'
- cmd: tiny_cnn_test.exe
build:
project: C:\projects\build\tiny_cnn.sln