Add AppVeyor CI for MSVC

release/4.3a0
Jose Luis Blanco Claraco 2019-12-14 16:35:27 +01:00 committed by Jose Luis Blanco-Claraco
parent 85b9ed2fdd
commit 6c9fa5194d
2 changed files with 26 additions and 1 deletions

View File

@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/borglab/gtsam.svg?branch=develop)](https://travis-ci.com/borglab/gtsam/) gcc/clang: [![Build Status](https://travis-ci.com/borglab/gtsam.svg?branch=develop)](https://travis-ci.com/borglab/gtsam/) MSVC: [![Build status](https://ci.appveyor.com/api/projects/status/3enllitj52jsxwfg/branch/develop?svg=true)](https://ci.appveyor.com/project/dellaert/gtsam)
# README - Georgia Tech Smoothing and Mapping library # README - Georgia Tech Smoothing and Mapping library

25
appveyor.yml Normal file
View File

@ -0,0 +1,25 @@
# version format
version: 4.0.2-{branch}-build{build}
os: Visual Studio 2019
clone_folder: c:\projects\gtsam
platform: x64
configuration: Release
environment:
CTEST_OUTPUT_ON_FAILURE: 1
BOOST_ROOT: C:/Libraries/boost_1_71_0
build_script:
- cd c:\projects\gtsam\build
- cmake --build .
- cmake --build . --target check
before_build:
- cd c:\projects\gtsam
- mkdir build
- cd build
# Disable examples to avoid AppVeyor timeout
- cmake -G "Visual Studio 16 2019" .. -DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF