appveyor.yml 2.06 KB
Newer Older
1 2 3 4 5 6 7 8
version: "{build}"

branches:
    only:
        - master
        - /openmw-.*$/
        - appveyor

9 10 11 12 13
environment:
    matrix:
        - msvc: 2013
        - msvc: 2015

14 15
platform:
    - Win32
16
#   - x64
17

18 19 20
configuration:
    - Debug
#   - Release
21 22

# For the Qt, Boost, CMake, etc installs
23
os: Visual Studio 2015
24 25 26 27 28 29

# We want the git revision for versioning,
# so shallow clones don't work.
clone_depth: 1

cache:
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
    - C:\projects\openmw\deps\Bullet-2.83.7-msvc2013-win32.7z
    - C:\projects\openmw\deps\Bullet-2.83.7-msvc2013-win64.7z
    - 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-msvc2013-win32.7z
    - C:\projects\openmw\deps\MyGUI-3.2.3-git-msvc2013-win32.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-msvc2013-win32.7z
    - C:\projects\openmw\deps\OSG-3.4.0-scrawl-msvc2013-win32.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
    - C:\projects\openmw\deps\OpenAL-Soft-1.17.2.zip
    - C:\projects\openmw\deps\SDL2-2.0.4.zip
48 49 50

clone_folder: C:\projects\openmw

51 52 53
install:
    - set PATH=C:\Program Files\Git\mingw64\bin;%PATH%

54
before_build:
55
    - cmd: sh %APPVEYOR_BUILD_FOLDER%\CI\before_script.msvc.sh -u -p %PLATFORM% -v %msvc%
56 57

build_script:
58 59
    - cmd: if %PLATFORM%==Win32 set build=MSVC%msvc%_32
    - cmd: if %PLATFORM%==x64 set build=MSVC%msvc%_64
60 61 62 63 64 65 66 67 68 69
    - cmd: msbuild %build%\OpenMW.sln /t:Build /p:Configuration=%configuration% /m:2 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

test: off

#notifications:
#    - provider: Email
#    to:
#        -  
#    on_build_failure: true
#    on_build_status_changed: true