2018-05-18 21:48:07 -07:00
|
|
|
image: Visual Studio 2017
|
2017-01-18 20:50:40 -08:00
|
|
|
environment:
|
2017-11-25 14:02:36 -08:00
|
|
|
CURL_VERSION: 7.56.1
|
2017-01-18 20:50:40 -08:00
|
|
|
|
|
|
|
install:
|
|
|
|
- git submodule update --init --recursive
|
2018-05-18 21:48:07 -07:00
|
|
|
- if exist dependencies2017.zip (curl -kLO https://obsproject.com/downloads/dependencies2017.zip -f --retry 5 -z dependencies2017.zip) else (curl -kLO https://obsproject.com/downloads/dependencies2017.zip -f --retry 5 -C -)
|
2017-11-29 19:02:34 -08:00
|
|
|
- if exist vlc.zip (curl -kLO https://obsproject.com/downloads/vlc.zip -f --retry 5 -z vlc.zip) else (curl -kLO https://obsproject.com/downloads/vlc.zip -f --retry 5 -C -)
|
2018-05-18 21:48:07 -07:00
|
|
|
- 7z x dependencies2017.zip -odependencies2017
|
2017-02-24 04:05:06 -08:00
|
|
|
- 7z x vlc.zip -ovlc
|
2018-05-18 21:48:07 -07:00
|
|
|
- set DepsPath32=%CD%\dependencies2017\win32
|
|
|
|
- set DepsPath64=%CD%\dependencies2017\win64
|
2017-01-23 14:19:46 -08:00
|
|
|
- set VLCPath=%CD%\vlc
|
2018-05-18 10:46:35 -07:00
|
|
|
- set QTDIR32=C:\Qt\5.10.1\msvc2015
|
2018-05-18 21:48:07 -07:00
|
|
|
- set QTDIR64=C:\Qt\5.10.1\msvc2017_64
|
2017-01-23 14:19:46 -08:00
|
|
|
- set build_config=RelWithDebInfo
|
2018-05-18 21:48:07 -07:00
|
|
|
- mkdir build build32 build64
|
2017-01-23 14:19:46 -08:00
|
|
|
- cd ./build32
|
2018-05-18 21:48:07 -07:00
|
|
|
- cmake -G "Visual Studio 15 2017" -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DBUILD_CAPTIONS=true -DCOMPILE_D3D12_HOOK=true ..
|
2017-01-23 14:19:46 -08:00
|
|
|
- cd ../build64
|
2018-05-18 21:48:07 -07:00
|
|
|
- cmake -G "Visual Studio 15 2017 Win64" -DCOPIED_DEPENDENCIES=false -DCOPY_DEPENDENCIES=true -DBUILD_CAPTIONS=true -DCOMPILE_D3D12_HOOK=true ..
|
2017-01-23 14:19:46 -08:00
|
|
|
|
|
|
|
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:
|
2017-02-24 04:25:53 -08:00
|
|
|
- ps: Push-AppveyorArtifact "build.zip" -FileName "$(git describe).zip"
|
|
|
|
|
|
|
|
test: off
|
2017-02-24 06:34:54 -08:00
|
|
|
|
|
|
|
cache:
|
2018-05-18 21:48:07 -07:00
|
|
|
- dependencies2017.zip
|
2017-02-24 06:34:54 -08:00
|
|
|
- vlc.zip
|