1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 06:47:45 +00:00

Also copy cand call sql_import for CI

This commit is contained in:
mordred 2019-01-03 09:22:03 +01:00
parent abd98f82b5
commit 346bb3e30e
3 changed files with 3 additions and 4 deletions

View file

@ -24,8 +24,6 @@ before_build:
- cmake --build . --target ALL_BUILD --config Release - cmake --build . --target ALL_BUILD --config Release
build_script: build_script:
- cd ..
- cd bin - cd bin
- copy "C:\Program Files\MySQL\MySQL Server 5.7\lib\libmysql.dll" libmysql.dll - copy "C:\Program Files\MySQL\MySQL Server 5.7\lib\libmysql.dll" libmysql.dll
- cd ..
- sh sql_import.sh - sh sql_import.sh

View file

@ -38,5 +38,5 @@ script:
- mkdir -p build - mkdir -p build
- cd build - cd build
- cmake .. && make -j 3 - cmake .. && make -j 3
- cd .. - cd bin
- bash sql_import.sh - bash sql_import.sh

View file

@ -22,7 +22,8 @@ set( CMAKE_MODULE_PATH
add_custom_target( copy_runtime_files ALL add_custom_target( copy_runtime_files ALL
COMMAND cmake -E copy_directory ${CMAKE_SOURCE_DIR}/config ${CMAKE_BINARY_DIR}/bin/config COMMAND cmake -E copy_directory ${CMAKE_SOURCE_DIR}/config ${CMAKE_BINARY_DIR}/bin/config
COMMAND cmake -E copy_directory ${CMAKE_SOURCE_DIR}/sql ${CMAKE_BINARY_DIR}/bin/sql COMMAND cmake -E copy_directory ${CMAKE_SOURCE_DIR}/sql ${CMAKE_BINARY_DIR}/bin/sql
COMMAND cmake -E copy_directory ${CMAKE_SOURCE_DIR}/web ${CMAKE_BINARY_DIR}/bin/web ) COMMAND cmake -E copy_directory ${CMAKE_SOURCE_DIR}/web ${CMAKE_BINARY_DIR}/bin/web
COMMAND cmake -E copy ${CMAKE_SOURCE_DIR}/sql_import.sh ${CMAKE_BINARY_DIR}/bin/sql_import.sh )
###################################### ######################################
# Dependencies and compiler settings # # Dependencies and compiler settings #