mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
add appveyor test
This commit is contained in:
parent
5ca1c3360f
commit
2d00dee272
1 changed files with 30 additions and 0 deletions
30
.appveyor.yml
Normal file
30
.appveyor.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
os:
|
||||||
|
- Visual Studio 2015
|
||||||
|
|
||||||
|
configuration:
|
||||||
|
- Debug
|
||||||
|
|
||||||
|
platform:
|
||||||
|
- Win32
|
||||||
|
|
||||||
|
environment:
|
||||||
|
MSVC_DEFAULT_OPTIONS: ON
|
||||||
|
BOOST_ROOT_DIR: "C:\\Libraries\\boost_1_60_0"
|
||||||
|
BOOST_LIB_DIR: "C:\\Libraries\\boost_1_60_0\\lib32-msvc-14.0"
|
||||||
|
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 14 2015"
|
||||||
|
- cmake --build . --target ALL_BUILD --config Debug
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- cd ..
|
||||||
|
- sh sql_import.sh
|
Loading…
Add table
Reference in a new issue