Skip to content

Commit 21887f9

Browse files
authored
add appveyor.yml (luoyetx#6)
* add appveyor.yml * add badges * update * fix appveyor.yml * fix appveyor.yml * fix appveyor.yml * fix appveyor.yml
1 parent a42b1f9 commit 21887f9

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
Mini-Caffe
22
==========
33

4-
Minimal runtime core of Caffe porting to Windows. This repo is aimed to provide a minimal runtime of Caffe for those want to run Caffe model on Windows platform.
4+
[![Build Status](https://travis-ci.org/luoyetx/mini-caffe.svg?branch=master)](https://travis-ci.org/luoyetx/mini-caffe)
5+
[![Build status](https://ci.appveyor.com/api/projects/status/yre40qwoni7y0696/branch/master?svg=true)](https://ci.appveyor.com/project/luoyetx/mini-caffe/branch/master)
6+
7+
Minimal runtime core of Caffe. This repo is aimed to provide a minimal runtime of Caffe for those want to run Caffe model.
58

69
### Update
710

appveyor.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
version: 1.0.{build}
2+
3+
pull_requests:
4+
do_not_increment_build_number: true
5+
6+
skip_tags: true
7+
skip_branch_with_pr: true
8+
9+
image: Visual Studio 2013
10+
11+
install:
12+
- cmd: |
13+
git submodule init
14+
git submodule update
15+
cd 3rdparty/src/protobuf/cmake
16+
mkdir build
17+
cd build
18+
cmake .. -DBUILD_TESTING=OFF -G "Visual Studio 12 2013 Win64"
19+
msbuild protobuf.sln /t:Rebuild /p:Configuration=Debug;Platform=x64 /m
20+
msbuild protobuf.sln /t:Rebuild /p:Configuration=Release;Platform=x64 /m
21+
cd ../../../../../
22+
23+
before_build:
24+
- cmd: |
25+
call copydeps.bat
26+
call generatepb.bat
27+
28+
build_script:
29+
- cmd: |
30+
mkdir build
31+
cd build
32+
cmake .. -G "Visual Studio 12 2013 Win64"
33+
msbuild mini-caffe.sln /t:Rebuild /p:Configuration=Debug;Platform=x64 /m
34+
msbuild mini-caffe.sln /t:Rebuild /p:Configuration=Release;Platform=x64 /m
35+
36+
branches:
37+
only:
38+
- master

0 commit comments

Comments
 (0)