2015-06-02 23:11:09 +02:00
version : "{build}"
2015-07-12 00:45:42 +02:00
branches :
only :
2015-12-27 20:00:52 +01:00
- master
- /openmw-.*$/
2015-07-12 00:45:42 +02:00
- appveyor
2016-08-28 21:42:48 +02:00
environment :
matrix :
2018-05-20 18:24:06 +02:00
- msvc : 2015
APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2015
2018-05-20 17:17:04 +02:00
- msvc : 2017
2018-05-20 18:24:06 +02:00
APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
2018-08-08 16:36:25 +02:00
matrix :
allow_failures :
2018-11-01 00:20:10 +03:00
- msvc : 2015
2016-08-28 21:42:48 +02:00
2015-06-02 23:11:09 +02:00
platform :
2018-05-20 17:17:04 +02:00
# - Win32
- x64
2015-06-08 02:26:23 +02:00
2016-08-28 21:42:48 +02:00
configuration :
2018-05-24 22:51:25 +04:00
# - Debug
2018-05-26 19:51:50 +04:00
- Release
# - RelWithDebInfo
2015-06-02 23:11:09 +02:00
2015-12-27 20:00:52 +01:00
# For the Qt, Boost, CMake, etc installs
2018-05-20 18:24:06 +02:00
#os: Visual Studio 2017
2015-06-03 00:51:22 +02:00
2015-12-27 20:00:52 +01:00
# We want the git revision for versioning,
# so shallow clones don't work.
2015-12-24 22:39:07 +01:00
clone_depth : 1
2015-06-03 01:41:45 +02:00
2015-06-02 23:50:52 +02:00
cache :
2016-08-28 21:42:48 +02:00
- C:\projects\openmw\deps\Bullet-2.83.7-msvc2015-win32.7z
- C:\projects\openmw\deps\Bullet-2.83.7-msvc2015-win64.7z
- C:\projects\openmw\deps\MyGUI-3.2.3-git-msvc2015-win64.7z
- C:\projects\openmw\deps\MyGUI-3.2.3-git-msvc2015-win64.7z
- C:\projects\openmw\deps\OSG-3.4.0-scrawl-msvc2015-win64.7z
- C:\projects\openmw\deps\OSG-3.4.0-scrawl-msvc2015-win64.7z
- C:\projects\openmw\deps\ffmpeg-3.0.1-dev-win32.7z
- C:\projects\openmw\deps\ffmpeg-3.0.1-dev-win64.7z
- C:\projects\openmw\deps\ffmpeg-3.0.1-win32.7z
- C:\projects\openmw\deps\ffmpeg-3.0.1-win64.7z
2016-08-29 00:29:30 +02:00
- C:\projects\openmw\deps\OpenAL-Soft-1.17.2.zip
- C:\projects\openmw\deps\SDL2-2.0.4.zip
2015-06-02 23:50:52 +02:00
2015-06-02 23:11:09 +02:00
clone_folder : C:\projects\openmw
2017-03-22 11:10:57 +09:00
install :
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
2015-06-02 23:11:09 +02:00
before_build :
2018-11-01 00:20:10 +03:00
- cmd : git submodule update --init --recursive
2018-05-26 19:51:50 +04:00
- cmd : sh %APPVEYOR_BUILD_FOLDER%\CI\before_script.msvc.sh -c %configuration% -p %PLATFORM% -v %msvc% -V
2015-07-12 00:45:42 +02:00
build_script :
2016-08-28 21:59:13 +02:00
- cmd : if %PLATFORM%==Win32 set build=MSVC%msvc%_32
- cmd : if %PLATFORM%==x64 set build=MSVC%msvc%_64
2015-07-12 00:45:42 +02:00
- cmd : msbuild %build%\OpenMW.sln /t:Build /p:Configuration=%configuration% /m:2 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
2015-06-08 02:26:23 +02:00
2018-05-24 22:49:53 +04:00
after_build :
2018-05-26 19:51:50 +04:00
- cmd : if %PLATFORM%==x64 7z a OpenMW_MSVC%msvc%_%platform%_%appveyor_pull_request_number%_%appveyor_pull_request_head_commit%.zip %APPVEYOR_BUILD_FOLDER%\MSVC%msvc%_64\%configuration%\ -xr"!*.pdb"
#- cmd: if %PLATFORM%==x64 7z a OpenMW_MSVC%msvc%_%platform%_%appveyor_pull_request_number%_%appveyor_pull_request_head_commit%_pdb.zip %APPVEYOR_BUILD_FOLDER%\MSVC%msvc%_64\%configuration%\*.pdb
2018-05-24 22:49:53 +04:00
2015-06-08 02:26:23 +02:00
test : off
2015-12-27 20:00:52 +01:00
#notifications:
# - provider: Email
# to:
2018-03-13 21:58:52 +03:00
# -
2015-12-27 20:00:52 +01:00
# on_build_failure: true
# on_build_status_changed: true
2018-05-24 22:49:53 +04:00
artifacts :
2018-05-26 19:51:50 +04:00
- path : OpenMW_MSVC%msvc%_%platform%_%appveyor_pull_request_number%_%appveyor_pull_request_head_commit%.zip
name : OpenMW_MSVC%msvc%_%platform%_%appveyor_pull_request_number%_%appveyor_pull_request_head_commit%
#- path: OpenMW_MSVC%msvc%_%platform%_%appveyor_pull_request_number%_%appveyor_pull_request_head_commit%_pdb.zip
# name: OpenMW_MSVC%msvc%_%platform%_%appveyor_pull_request_number%_%appveyor_pull_request_head_commit%_pdb