代码拉取完成,页面将自动刷新
version: 1.0.{build}
image: Visual Studio 2019
clone_depth: 1
init:
- ps: ''
environment:
BOOST_ROOT: C:\Libraries\boost_1_71_0
OPENSSL_ROOT_DIR: C:\OpenSSL-Win64
build_script:
- cmd: >-
git config user.email "appveyor@build.bot" && git config user.name "AppVeyor"
git tag -a -m "AppVeyor build" init
md build && cd build
cmake -G"Visual Studio 16 2019" -A x64 -DSCRIPTS=dynamic -DTOOLS=True -DCMAKE_CXX_FLAGS=" /DWIN32 /D_WINDOWS /W3 /GR /EHsc /WX" -DCMAKE_C_FLAGS="/DWIN32 /D_WINDOWS /W3 /WX" ..
"%programfiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\amd64\MsBuild.exe" /nologo /m:2 /p:Configuration=RelWithDebInfo /p:Platform="X64" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" "TrinityCore.sln"
cd bin\RelWithDebInfo\
copy "C:\Program Files\MySQL\MySQL Server 5.7\lib\libmysql.dll" libmysql.dll
copy "%OPENSSL_ROOT_DIR%\ssleay32.dll" ssleay32.dll
copy "%OPENSSL_ROOT_DIR%\libeay32.dll" libeay32.dll
cd ..
7z a TrinityCoreWin64VS2019.zip .\RelWithDebInfo\*
del /F /Q /S "RelWithDebInfo\*.pdb" > NUL
7z a TrinityCoreWin64VS2019NoSymbols.zip .\RelWithDebInfo\*
test: off
artifacts:
- path: build\bin\TrinityCoreWin64VS2019.zip
name: TrinityCoreWin64VS2019
- path: build\bin\TrinityCoreWin64VS2019NoSymbols.zip
name: TrinityCoreWin64VS2019NoSymbols
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。