2017-08-12 01:59:41 +01:00
|
|
|
os:
|
2018-10-26 22:32:31 +11:00
|
|
|
- Visual Studio 2017
|
2017-08-12 01:59:41 +01:00
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
|
|
|
|
platform:
|
2018-10-27 16:56:43 +11:00
|
|
|
- Win64
|
2017-08-12 01:59:41 +01:00
|
|
|
|
|
|
|
environment:
|
|
|
|
MSVC_DEFAULT_OPTIONS: ON
|
|
|
|
MYSQL_PWD: "Password12!"
|
|
|
|
|
|
|
|
services:
|
|
|
|
- mysql
|
|
|
|
|
|
|
|
before_build:
|
|
|
|
- set PATH="C:\\Program Files\\MySQL\\MySQL Server 5.7\\bin";%PATH%
|
|
|
|
- cd c:\projects\sapphire
|
|
|
|
- git submodule update --init
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2018-10-27 17:02:25 +11:00
|
|
|
- cmake .. -G "Visual Studio 15 2017 Win64"
|
2018-12-12 14:18:27 +01:00
|
|
|
- cmake --build . --target ALL_BUILD --config Release
|
2017-08-12 01:59:41 +01:00
|
|
|
|
|
|
|
build_script:
|
2018-12-12 14:56:37 +01:00
|
|
|
- cd bin
|
|
|
|
- copy "C:\Program Files\MySQL\MySQL Server 5.7\lib\libmysql.dll" libmysql.dll
|
2017-09-13 11:46:17 +02:00
|
|
|
- sh sql_import.sh
|