2015-06-02 21:11:09 +00:00
version : "{build}"
2015-07-11 22:45:42 +00:00
branches :
only :
2015-12-27 19:00:52 +00:00
- master
- /openmw-.*$/
2015-07-11 22:45:42 +00:00
- appveyor
2016-08-28 19:42:48 +00:00
environment :
matrix :
2018-05-20 16:24:06 +00:00
- msvc : 2015
APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2015
2018-05-20 15:17:04 +00:00
- msvc : 2017
2018-05-20 16:24:06 +00:00
APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
2018-08-08 14:36:25 +00:00
matrix :
allow_failures :
2018-10-31 21:20:10 +00:00
- msvc : 2015
2016-08-28 19:42:48 +00:00
2015-06-02 21:11:09 +00:00
platform :
2018-05-20 15:17:04 +00:00
# - Win32
- x64
2015-06-08 00:26:23 +00:00
2016-08-28 19:42:48 +00:00
configuration :
2018-05-24 18:51:25 +00:00
# - Debug
2018-05-26 15:51:50 +00:00
- Release
# - RelWithDebInfo
2015-06-02 21:11:09 +00:00
2015-12-27 19:00:52 +00:00
# For the Qt, Boost, CMake, etc installs
2018-05-20 16:24:06 +00:00
#os: Visual Studio 2017
2015-06-02 22:51:22 +00:00
2015-12-27 19:00:52 +00:00
# We want the git revision for versioning,
# so shallow clones don't work.
2015-12-24 21:39:07 +00:00
clone_depth : 1
2015-06-02 23:41:45 +00:00
2015-06-02 21:50:52 +00:00
cache :
2019-02-20 20:44:01 +00:00
- C:\projects\openmw\deps\Bullet-2.86-msvc2015-win32.7z
- C:\projects\openmw\deps\Bullet-2.86-msvc2015-win64.7z
- C:\projects\openmw\deps\MyGUI-3.2.2-msvc2015-win32.7z
- C:\projects\openmw\deps\MyGUI-3.2.2-msvc2015-win64.7z
- C:\projects\openmw\deps\OSG-3.4.1-scrawl-msvc2015-win32.7z
- C:\projects\openmw\deps\OSG-3.4.1-scrawl-msvc2015-win64.7z
- C:\projects\openmw\deps\ffmpeg-3.2.4-dev-win32.zip
- C:\projects\openmw\deps\ffmpeg-3.2.4-dev-win64.zip
- C:\projects\openmw\deps\ffmpeg-3.2.4-win32.zip
- C:\projects\openmw\deps\ffmpeg-3.2.4-win64.zip
- C:\projects\openmw\deps\OpenAL-Soft-1.19.1.zip
- C:\projects\openmw\deps\SDL2-2.0.7.zip
2015-06-02 21:50:52 +00:00
2015-06-02 21:11:09 +00:00
clone_folder : C:\projects\openmw
2017-03-22 02:10:57 +00:00
install :
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
2015-06-02 21:11:09 +00:00
before_build :
2018-10-31 21:20:10 +00:00
- cmd : git submodule update --init --recursive
2018-05-26 15:51:50 +00:00
- cmd : sh %APPVEYOR_BUILD_FOLDER%\CI\before_script.msvc.sh -c %configuration% -p %PLATFORM% -v %msvc% -V
2015-07-11 22:45:42 +00:00
build_script :
2016-08-28 19:59:13 +00:00
- cmd : if %PLATFORM%==Win32 set build=MSVC%msvc%_32
- cmd : if %PLATFORM%==x64 set build=MSVC%msvc%_64
2015-07-11 22:45:42 +00: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 00:26:23 +00:00
2018-05-24 18:49:53 +00:00
after_build :
2018-05-26 15:51:50 +00: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 18:49:53 +00:00
2015-06-08 00:26:23 +00:00
test : off
2015-12-27 19:00:52 +00:00
#notifications:
# - provider: Email
# to:
2018-03-13 18:58:52 +00:00
# -
2015-12-27 19:00:52 +00:00
# on_build_failure: true
# on_build_status_changed: true
2018-05-24 18:49:53 +00:00
artifacts :
2018-05-26 15:51:50 +00: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