Skip to content

Commit

Permalink
[Continuous Integration] More extensive compiler coverage openMVG#1145
Browse files Browse the repository at this point in the history
- add Visual Studio 2017 to the Windows Continuous Integration.
 - Testing the matrix (Win32, Win63, Debud, Release, VS2015, VS2017)
  • Loading branch information
pmoulon committed Nov 12, 2017
1 parent cd50a9c commit 7573da8
Showing 1 changed file with 24 additions and 10 deletions.
34 changes: 24 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,42 @@ install:

environment:
matrix:
- GENERATOR: "Visual Studio 14 2015 Win64"
- GENERATOR: "Visual Studio 14 2015"
# Visual Studio 2015 Win32
- GENERATOR: Visual Studio 14 2015
PLATFORM: Win32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015

# Visual Studio 2015 x64
- GENERATOR: Visual Studio 14 2015 Win64
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015

# Visual Studio 2017 Win32
- GENERATOR: Visual Studio 15 2017
PLATFORM: Win32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017

# Visual Studio 2017 x64
- GENERATOR: Visual Studio 15 2017 Win64
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017

# build configuration, i.e. Debug, Release, etc.
configuration:
- Debug
- Release

build_script:
before_build:
- cd c:\dev\openMVG
- md openMVG_build
- cd openMVG_build
# Configure:
# - ceres - SCHUR_SPECIALIZATIONS set to OFF to speed up build time
# - ceres - SCHUR_SPECIALIZATIONS is set to OFF to speed up the build time
- cmake -G"%GENERATOR%" -DCMAKE_BUILD_TYPE=%configuration% -DOpenMVG_BUILD_EXAMPLES=OFF -DOpenMVG_BUILD_TESTS=ON -DSCHUR_SPECIALIZATIONS=OFF ../src/
# Build:
- cmake --build . --config %configuration%

test_script:
- ctest -C %configuration% -V

build:
project: c:\dev\openMVG\openMVG_Build\openMVG.sln
parallel: true
verbosity: minimal

test_script:
- ctest -C %configuration% -V

0 comments on commit 7573da8

Please sign in to comment.