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:
parent
abd98f82b5
commit
346bb3e30e
3 changed files with 3 additions and 4 deletions
|
@ -24,8 +24,6 @@ before_build:
|
|||
- 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
|
||||
|
|
|
@ -38,5 +38,5 @@ script:
|
|||
- mkdir -p build
|
||||
- cd build
|
||||
- cmake .. && make -j 3
|
||||
- cd ..
|
||||
- cd bin
|
||||
- bash sql_import.sh
|
||||
|
|
|
@ -22,7 +22,8 @@ set( CMAKE_MODULE_PATH
|
|||
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}/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 #
|
||||
|
|
Loading…
Add table
Reference in a new issue