2017-10-14 07:59:12 +00:00
|
|
|
#---------------------------------#
|
|
|
|
# general configuration #
|
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
# version format
|
2017-11-12 17:51:12 +00:00
|
|
|
version: '0.0.4-{build}'
|
2017-01-30 22:16:47 +00:00
|
|
|
|
2017-10-14 07:59:12 +00:00
|
|
|
#---------------------------------#
|
|
|
|
# environment configuration #
|
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
# Build worker image (VM template)
|
|
|
|
image: Visual Studio 2015
|
|
|
|
|
|
|
|
# clone directory
|
|
|
|
clone_folder: c:\projects\rpcs3
|
|
|
|
|
|
|
|
# environment variables
|
|
|
|
environment:
|
2017-11-19 17:49:21 +00:00
|
|
|
QTDIR: C:\Qt\5.9\msvc2015_64
|
2017-10-14 07:59:12 +00:00
|
|
|
|
|
|
|
# build cache to preserve files/folders between builds
|
|
|
|
cache:
|
|
|
|
- llvmlibs.7z -> appveyor.yml
|
|
|
|
- vulkan.7z -> appveyor.yml
|
|
|
|
|
|
|
|
# scripts that run after cloning repository
|
|
|
|
install:
|
|
|
|
- git submodule 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
|
|
|
|
|
|
|
|
#---------------------------------#
|
|
|
|
# build configuration #
|
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
|
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
|
|
|
# build Configuration, i.e. Debug, Release, etc.
|
|
|
|
configuration: Release - LLVM
|
2017-01-30 22:16:47 +00:00
|
|
|
|
2017-10-14 07:59:12 +00:00
|
|
|
build:
|
|
|
|
parallel: true # enable MSBuild parallel builds
|
|
|
|
project: rpcs3.sln # path to Visual Studio solution or project
|
|
|
|
# MSBuild verbosity level
|
|
|
|
verbosity: normal
|
|
|
|
|
|
|
|
# scripts to run before build
|
2015-08-03 19:07:12 +00:00
|
|
|
before_build:
|
2017-08-13 23:48:52 +00:00
|
|
|
- set BRANCH=%APPVEYOR_REPO_NAME%/%APPVEYOR_REPO_BRANCH%/#%APPVEYOR_PULL_REQUEST_NUMBER%
|
|
|
|
- if "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" (set BRANCH=%APPVEYOR_REPO_NAME%/%APPVEYOR_REPO_BRANCH%)
|
2017-10-14 07:59:12 +00:00
|
|
|
- set PATH=%PATH%;%QTDIR%
|
2017-05-23 14:18:49 +00:00
|
|
|
- if not exist llvmlibs.7z appveyor DownloadFile "https://drive.google.com/uc?export=download&id=0B8A6NaxhQAGRY2k3Q2Yya05lcm8" -FileName llvmlibs.7z
|
2017-10-14 07:59:12 +00:00
|
|
|
- 7z x llvmlibs.7z -aos -o%APPVEYOR_BUILD_FOLDER% > null
|
2018-01-12 19:19:03 +00:00
|
|
|
- if not exist vulkan.7z appveyor DownloadFile "https://drive.google.com/uc?export=download&id=1A2eOMmCO714i0U7J0qI4aEMKnuWl8l_R" -FileName vulkan.7z
|
2017-10-14 07:59:12 +00:00
|
|
|
- 7z x vulkan.7z -aos -o"%APPVEYOR_BUILD_FOLDER%\lib\%CONFIGURATION%-%PLATFORM%" > null
|
2015-08-04 16:23:35 +00:00
|
|
|
|
2017-10-14 07:59:12 +00:00
|
|
|
# scripts to run *after* solution is built and *before* automatic packaging occurs (web apps, NuGet packages, Azure Cloud Services)
|
|
|
|
before_package:
|
|
|
|
- rm %APPVEYOR_BUILD_FOLDER%\bin\rpcs3.exp
|
|
|
|
- rm %APPVEYOR_BUILD_FOLDER%\bin\rpcs3.lib
|
|
|
|
- rm %APPVEYOR_BUILD_FOLDER%\bin\rpcs3.pdb
|
|
|
|
- set COMMIT_DATE=%APPVEYOR_REPO_COMMIT_TIMESTAMP:~0,10%
|
|
|
|
- set COMMIT_SHA=%APPVEYOR_REPO_COMMIT:~0,8%
|
|
|
|
|
|
|
|
#---------------------------------#
|
|
|
|
# tests configuration #
|
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
# to disable automatic tests
|
|
|
|
test: off
|
|
|
|
|
|
|
|
#---------------------------------#
|
|
|
|
# artifacts configuration #
|
|
|
|
#---------------------------------#
|
|
|
|
|
|
|
|
# pushing entire folder as a zip archive
|
2015-08-09 19:05:16 +00:00
|
|
|
artifacts:
|
|
|
|
- path: bin
|
2017-11-12 17:51:12 +00:00
|
|
|
name: 'rpcs3-v0.0.4-$(COMMIT_DATE)-$(COMMIT_SHA)_win64'
|