1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-20 17:37:44 +00:00
sapphire/.appveyor.yml
2018-12-12 14:56:37 +01:00

31 lines
592 B
YAML

os:
- Visual Studio 2017
configuration:
- Debug
platform:
- Win64
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
- cmake .. -G "Visual Studio 15 2017 Win64"
- cmake --build . --target ALL_BUILD --config Release
build_script:
- cd ..
- cd bin
- copy "C:\Program Files\MySQL\MySQL Server 5.7\lib\libmysql.dll" libmysql.dll
- cd ..
- sh sql_import.sh