forked from tiny-dnn/tiny-dnn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
34 lines (26 loc) · 1023 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
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:
- 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 -DCMAKE_INSTALL_PREFIX=..\install ..\tiny-dnn'
after_build:
- cmd: 'cd C:\projects\build\test\Release'
- cmd: tiny_dnn_test.exe
build:
project: C:\projects\build\tiny_dnn.sln