2015-12-28 03:23:27 +08:00
|
|
|
os: Visual Studio 2015
|
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
- Release
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- CD
|
2015-12-28 03:47:37 +08:00
|
|
|
- cd ..
|
2015-12-28 03:23:27 +08:00
|
|
|
- CD
|
2016-05-05 16:31:58 +08:00
|
|
|
- git clone --branch v1.0.0 --depth 1 https://github.com/HowardHinnant/date
|
2015-12-28 03:47:37 +08:00
|
|
|
- cd sqlpp11
|
2015-12-28 03:23:27 +08:00
|
|
|
- CD
|
|
|
|
- echo %configuration%
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake --version
|
2016-05-06 02:31:28 +08:00
|
|
|
- cmake .. -DCMAKE_CXX_FLAGS="/EHsc /wd4503" -DCMAKE_PREFIX_PATH="..\..\date"
|
2015-12-28 03:23:27 +08:00
|
|
|
- cmake --build . --config %configuration%
|
|
|
|
- ctest . --build-config %configuration%
|