2017-01-18 20:50:40 -08:00
|
|
|
environment:
|
|
|
|
CURL_VERSION: 7.39.0
|
|
|
|
|
|
|
|
install:
|
|
|
|
- git submodule update --init --recursive
|
2017-02-16 18:28:22 -08:00
|
|
|
- curl -kLO https://obsproject.com/downloads/dependencies2015.zip -f --retry 5 -C -
|
2017-02-24 04:05:06 -08:00
|
|
|
- curl -kLO https://obsproject.com/downloads/vlc.zip -f --retry 5 -C -
|
2017-01-18 20:50:40 -08:00
|
|
|
- 7z x dependencies2015.zip -odependencies2015
|
2017-02-24 04:05:06 -08:00
|
|
|
- 7z x vlc.zip -ovlc
|
2017-01-23 14:19:46 -08:00
|
|
|
- set DepsPath32=%CD%\dependencies2015\win32
|
|
|
|
- set DepsPath64=%CD%\dependencies2015\win64
|
|
|
|
- set VLCPath=%CD%\vlc
|
|
|
|
- set QTDIR32=C:\Qt\5.7\msvc2015
|
|
|
|
- set QTDIR64=C:\Qt\5.7\msvc2015_64
|
|
|
|
- set build_config=RelWithDebInfo
|
|
|
|
- move "C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\d3d11on12*" "C:\Program Files (x86)\Windows Kits\8.1\Include\um"
|
|
|
|
- move "C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\d3d12*" "C:\Program Files (x86)\Windows Kits\8.1\Include\um"
|
|
|
|
- move "C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\dxgi*" "C:\Program Files (x86)\Windows Kits\8.1\Include\shared"
|
2017-01-18 20:50:40 -08:00
|
|
|
- mkdir build
|
2017-01-23 14:19:46 -08:00
|
|
|
- mkdir build32
|
|
|
|
- mkdir build64
|
|
|
|
- cd ./build32
|
|
|
|
- cmake -G "Visual Studio 14 2015" -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DBUILD_CAPTIONS=true -DCOMPILE_D3D12_HOOK=true ..
|
|
|
|
- cd ../build64
|
|
|
|
- cmake -G "Visual Studio 14 2015 Win64" -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DBUILD_CAPTIONS=true -DCOMPILE_D3D12_HOOK=true ..
|
|
|
|
|
|
|
|
build_script:
|
2017-02-23 01:37:42 -08:00
|
|
|
- call msbuild /m /p:Configuration=%build_config% C:\projects\obs-studio\build32\obs-studio.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
|
- call msbuild /m /p:Configuration=%build_config% C:\projects\obs-studio\build64\obs-studio.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
2017-01-23 14:19:46 -08:00
|
|
|
|
|
|
|
before_deploy:
|
|
|
|
- C:\projects\obs-studio\CI\before-deploy-win.cmd
|
2017-01-18 20:50:40 -08:00
|
|
|
|
2017-01-23 14:19:46 -08:00
|
|
|
deploy_script:
|
|
|
|
- ps: Push-AppveyorArtifact "build.zip" -FileName "$(git describe).zip"
|