File: appveyor.yml

package info (click to toggle)
tiny-dnn 1.0.0a3%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,760 kB
  • sloc: cpp: 16,471; ansic: 11,829; lisp: 3,682; python: 3,422; makefile: 206
file content (43 lines) | stat: -rw-r--r-- 1,205 bytes parent folder | download | duplicates (2)
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
40
41
42
43
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
  matrix:
  - generator : Visual Studio 14
  - generator : Visual Studio 12
  - generator : Visual Studio 14 Win64
  - generator : Visual Studio 12 Win64

version: '{branch}-{build}'

os: Visual Studio 2015

branches:
  only:
    - master

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 "%generator%" -DUSE_SSE=ON -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX=..\install ..\tiny-dnn'

after_build:
  - cmd: 'cd C:\projects\build\test\Release'
  - cmd: tiny_dnn_test.exe

build_script:
  - msbuild C:\projects\build\tiny_dnn.sln