2017-10-14 07:59:12 +00:00
|
|
|
|
2018-02-02 02:20:03 +00:00
|
|
|
version: '{build}'
|
2017-01-30 22:16:47 +00:00
|
|
|
|
2017-10-14 07:59:12 +00:00
|
|
|
image: Visual Studio 2015
|
|
|
|
|
|
|
|
environment:
|
2017-11-19 17:49:21 +00:00
|
|
|
QTDIR: C:\Qt\5.9\msvc2015_64
|
2018-02-02 01:56:45 +00:00
|
|
|
LLVMLIBS: https://drive.google.com/uc?export=download&id=0B8A6NaxhQAGRY2k3Q2Yya05lcm8
|
|
|
|
VULKAN: https://drive.google.com/uc?export=download&id=1A2eOMmCO714i0U7J0qI4aEMKnuWl8l_R
|
2017-10-14 07:59:12 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- llvmlibs.7z -> appveyor.yml
|
|
|
|
- vulkan.7z -> appveyor.yml
|
|
|
|
|
|
|
|
install:
|
2018-02-02 02:20:03 +00:00
|
|
|
- ps: | # set version env vars, update appveyor build version accordingly
|
|
|
|
$commDate = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP.Substring(0,10)
|
|
|
|
$commSha = $env:APPVEYOR_REPO_COMMIT.Substring(0,8)
|
|
|
|
$commTag = $(git describe --tags $(git rev-list --tags --max-count=1))
|
|
|
|
|
|
|
|
$av = "{0}-{1}" -f $commTag.TrimStart("v"), $env:APPVEYOR_BUILD_NUMBER
|
|
|
|
Update-AppveyorBuild -Version $av
|
|
|
|
|
|
|
|
$env:BUILD = "rpcs3-{0}-{1}-{2}_win64.7z" -f $commTag, $commDate, $commSha
|
|
|
|
|
2018-02-02 02:05:36 +00:00
|
|
|
- ps: | # used for experimental build warnings for pr builds
|
|
|
|
$env:BRANCH = "{0}/{1}/#{2}" -f $env:APPVEYOR_REPO_NAME, `
|
|
|
|
$env:APPVEYOR_REPO_BRANCH, $env:APPVEYOR_PULL_REQUEST_NUMBER
|
|
|
|
$env:BRANCH = $env:BRANCH -replace "/#$"
|
|
|
|
|
|
|
|
- ps: $env:PATH += $env:QTDIR
|
|
|
|
|
|
|
|
- ps: | # update and init submodules
|
|
|
|
git submodule -q update --init `
|
|
|
|
3rdparty/cereal `
|
|
|
|
3rdparty/ffmpeg `
|
|
|
|
3rdparty/GSL `
|
|
|
|
3rdparty/hidapi `
|
|
|
|
3rdparty/libpng `
|
|
|
|
3rdparty/Optional `
|
|
|
|
3rdparty/pugixml `
|
|
|
|
3rdparty/zlib `
|
|
|
|
asmjit `
|
|
|
|
Utilities/yaml-cpp `
|
|
|
|
Vulkan/glslang `
|
|
|
|
Vulkan/Vulkan-LoaderAndValidationLayers
|
2017-10-14 07:59:12 +00:00
|
|
|
|
2015-08-03 19:07:12 +00:00
|
|
|
platform: x64
|
2015-08-04 16:57:41 +00:00
|
|
|
|
2017-10-14 07:59:12 +00:00
|
|
|
configuration: Release - LLVM
|
2017-01-30 22:16:47 +00:00
|
|
|
|
2017-10-14 07:59:12 +00:00
|
|
|
build:
|
2018-02-02 01:54:11 +00:00
|
|
|
parallel: true
|
|
|
|
project: rpcs3.sln
|
2017-10-14 07:59:12 +00:00
|
|
|
verbosity: normal
|
|
|
|
|
2015-08-03 19:07:12 +00:00
|
|
|
before_build:
|
2018-02-02 01:56:45 +00:00
|
|
|
- cmd: | # fetch precompiled build dependencies
|
|
|
|
if not exist llvmlibs.7z appveyor DownloadFile %LLVMLIBS% -FileName llvmlibs.7z
|
|
|
|
7z x llvmlibs.7z -aos -o"." > nul
|
|
|
|
if not exist vulkan.7z appveyor DownloadFile %VULKAN% -FileName vulkan.7z
|
|
|
|
7z x vulkan.7z -aos -o".\lib\%CONFIGURATION%-%PLATFORM%" > nul
|
2015-08-04 16:23:35 +00:00
|
|
|
|
2018-02-02 02:20:03 +00:00
|
|
|
after_build:
|
2018-02-02 02:22:16 +00:00
|
|
|
- ps: | # remove unnecessary files
|
|
|
|
rm .\bin\rpcs3.exp, .\bin\rpcs3.lib, .\bin\rpcs3.pdb
|
|
|
|
|
2018-02-02 02:20:03 +00:00
|
|
|
- ps: | # package artifacts
|
|
|
|
7z a $env:BUILD .\bin\*
|
2018-02-02 02:23:53 +00:00
|
|
|
7z a openssl_win64.7z C:\OpenSSL-Win64\bin\libeay32.dll C:\OpenSSL-Win64\bin\ssleay32.dll
|
2018-02-02 02:20:03 +00:00
|
|
|
|
2017-10-14 07:59:12 +00:00
|
|
|
test: off
|
|
|
|
|
2015-08-09 19:05:16 +00:00
|
|
|
artifacts:
|
2018-02-02 02:20:03 +00:00
|
|
|
- path: $(BUILD)
|
|
|
|
name: rpcs3
|
2018-02-02 02:23:53 +00:00
|
|
|
- path: openssl_win64.7z
|
|
|
|
name: openssl
|