Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from izvolov/windows-compile-#5
refs #5 Компилируемость под Виндой
- Loading branch information
Showing
3 changed files
with
49 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: '{build}' | ||
|
||
image: Visual Studio 2017 | ||
|
||
platform: | ||
- Win32 | ||
- x64 | ||
|
||
configuration: | ||
- Debug | ||
- Release | ||
|
||
install: | ||
- git clone https://github.com/onqtam/doctest.git third_party\doctest | ||
- git -C third_party\doctest checkout 2.3.3 | ||
- cmake -S third_party\doctest -B Build\third_party\doctest -A %PLATFORM% -DDOCTEST_WITH_TESTS=OFF | ||
- cmake --build Build\third_party\doctest --config Release --target install | ||
|
||
build_script: | ||
- cmake -S . -B Build\mylib -A %PLATFORM% | ||
- cmake --build Build\mylib --config %CONFIGURATION% --target mylib-unit-tests | ||
|
||
test_script: | ||
- cmake --build Build\mylib --config %CONFIGURATION% --target check |
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