加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 2.51 KB
一键复制 编辑 原始数据 按行查看 历史
image: Visual Studio 2015
# This is the default location, but we put it here for safety reasons, since we use it in our test script
clone_folder: c:\projects\pandas
# We do not need the git history for our integration tests
clone_depth: 10
shallow_clone: true
version: '{branch}-{build}'
skip_tags: true
pull_requests:
do_not_increment_build_number: true
environment:
matrix:
- Defines: "\"BUILDBOT\""
- Defines: "\"BUILDBOT;PRERE\""
platform:
- Win32
- x64
configuration:
- Debug
# Disable Release for now, since do not want to have any optimization and have access to debug infos on crash
# - Release
matrix:
fast_finish: true
cache:
- 3rdparty\boost\bin.v2\ -> 3rdparty\boost\bootstrap.bat, 3rdparty\boost\index.html
- 3rdparty\boost\stage\ -> 3rdparty\boost\bootstrap.bat, 3rdparty\boost\index.html
- 3rdparty\boost\b2.exe -> 3rdparty\boost\bootstrap.bat, 3rdparty\boost\index.html
install:
- ps: >-
cd "$($env:APPVEYOR_BUILD_FOLDER)\3rdparty\boost"
if (-not (Test-Path ".\stage\lib\libboost_*.lib") -or -not (Test-Path ".\b2.exe")){ .\bootstrap.bat }
cd "$($env:APPVEYOR_BUILD_FOLDER)"
build_script:
- cmd: msbuild rAthena.sln /p:DefineConstants=%Defines%
services: mysql
test_script:
- cmd: >-
rem ========================================================================
rem Set up the environment variables we need
rem ========================================================================
set DB_HOST=127.0.0.1
set DB_ROOT=root
set DB_ROOTPW=Password12!
set DB_USER=ragnarok
set DB_USERPW=ragnarok
set DB_NAME=ragnarok
set MYSQL="C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe"
cd C:\projects\pandas
rem ========================================================================
rem MySQL database setup
rem ========================================================================
call tools\ci\sql.bat
rem ========================================================================
rem Activate all custom and test scripts
rem ========================================================================
start /d tools\ci npc.bat
rem ========================================================================
rem Start the map server
rem ========================================================================
login-server.exe --run-once
char-server.exe --run-once
map-server.exe --run-once
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化