1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-24 10:37:45 +00:00
sapphire/.appveyor.yml

37 lines
826 B
YAML
Raw Normal View History

2017-08-12 01:59:41 +01:00
os:
- Visual Studio 2015
configuration:
- Debug
platform:
- Win32
environment:
MSVC_DEFAULT_OPTIONS: ON
2017-09-12 14:13:53 +02:00
BOOST_ROOT_DIR: "C:\\Libraries\\boost_1_60_0"
BOOST_LIB_DIR: "C:\\Libraries\\boost_1_60_0\\lib32-msvc-14.0"
2017-08-12 01:59:41 +01:00
MYSQL_PWD: "Password12!"
services:
- mysql
before_build:
- set PATH="C:\\Program Files\\MySQL\\MySQL Server 5.7\\bin";%PATH%
2017-09-12 13:56:31 +02:00
- mkdir mysqlcpp
2017-09-12 13:54:35 +02:00
- cd mysqlcpp
- cmake --version
- git clone https://github.com/mysql/mysql-connector-cpp
2017-09-12 14:13:53 +02:00
- cmake mysql-connector-cpp/. -DWITH_BOOST=C:\\Libraries\\boost_1_60_0
2017-09-12 13:54:35 +02:00
- devenv MYSQLCPPCONN.sln /build RelWithDebInfo
2017-09-12 14:10:20 +02:00
- cd c:\projects\sapphire
2017-08-12 01:59:41 +01:00
- git submodule update --init
- mkdir build
- cd build
- cmake .. -G "Visual Studio 14 2015"
- cmake --build . --target ALL_BUILD --config Debug
build_script:
- cd ..
2017-09-12 13:54:35 +02:00
- sh sql_import.sh