2017-06-25 16:02:41 +08:00
|
|
|
os:
|
|
|
|
- Visual Studio 2015
|
|
|
|
- Visual Studio 2017
|
2015-12-28 03:23:27 +08:00
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
configuration:
|
2017-06-25 16:02:41 +08:00
|
|
|
#- Debug
|
2015-12-28 03:23:27 +08:00
|
|
|
- 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
|
2018-01-31 22:55:02 +08:00
|
|
|
- git clone https://github.com/HowardHinnant/date
|
|
|
|
- cd date
|
|
|
|
- git checkout tags/v2.4
|
|
|
|
- cd ..
|
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-07 01:52:00 +08:00
|
|
|
- cmake .. -DCMAKE_CXX_FLAGS="/EHsc /wd4503" -DCMAKE_PREFIX_PATH="C:\projects\date"
|
2015-12-28 03:23:27 +08:00
|
|
|
- cmake --build . --config %configuration%
|
2023-02-11 04:43:15 +08:00
|
|
|
- ctest . --build-config %configuration% --output-on-failure
|