Skip to content

Commit c041780

Browse files
committed
[ci] add appveyor
1 parent db70caf commit c041780

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
cmake_minimum_required(VERSION 3.0)
22

3+
project(cmake-examples)
4+
35
# Monolithic version
46
add_subdirectory(libFoo)
57
add_subdirectory(libFooer)

appveyor.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: '1.0.{build}'
2+
3+
image: Visual Studio 2017
4+
5+
platform:
6+
- x64
7+
8+
configuration:
9+
- Release
10+
- Debug
11+
12+
install:
13+
- git submodule update --init --recursive
14+
- vcpkg install boost:x64-windows --featurepackages
15+
16+
before_build:
17+
- md build
18+
- cd build
19+
- cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
20+
- ls -l
21+
22+
build:
23+
project: $(APPVEYOR_BUILD_FOLDER)\build\$(APPVEYOR_PROJECT_NAME).sln
24+
parallel: true
25+
26+
cache:
27+
c:\tools\vcpkg\installed\

0 commit comments

Comments
 (0)