-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
6 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,16 @@ | ||
shallow_clone: true | ||
|
||
configuration: | ||
- Debug | ||
- Release | ||
|
||
environment: | ||
matrix: | ||
- vstudio: Visual Studio 14 2015 | ||
- vstudio: Visual Studio 12 2013 | ||
- vstudio: Visual Studio 11 2012 | ||
- vstudio: Visual Studio 10 2010 | ||
- vstudio: Visual Studio 14 2015 Win64 | ||
- vstudio: Visual Studio 12 2013 Win64 | ||
- vstudio: Visual Studio 11 2012 Win64 | ||
- vstudio: Visual Studio 10 2010 Win64 | ||
|
||
build_script: | ||
- mkdir build | ||
- cd build | ||
- cmake -G "%vstudio%" -trace --warn-uninitialized --warn-unused_vars -Wdev | ||
--config %configuration% | ||
-DCMAKE_BUILD_TYPE=%configuration% | ||
-DCMAKE_INSTALL_PREFIX=../install | ||
-DHYPATIA_BUILD_STATIC=ON | ||
-DHYPATIA_BUILD_SHARED=ON | ||
-DHYPATIA_BUILD_DOCS=OFF | ||
-DHYPATIA_SINGLE_PRECISION_FLOATS=OFF | ||
.. | ||
- cmake --build "%cd%" --config %configuration% | ||
- cmd: '"c:\Program Files (x86)\CMake\bin\cpack.exe" -G "ZIP" -C %configuration%' | ||
- cmake --version | ||
- cmake -B build -G "%vstudio%" . | ||
- cmake --build build | ||
|
||
test_script: | ||
- ctest --output-on-failure | ||
-C %configuration% | ||
|
||
artifacts: | ||
- path: 'build\*.zip' | ||
- cd build | ||
- ctest -C Debug |