2017-03-11 20:06:12 +01:00
|
|
|
version: '0.0.2-{build}'
|
2017-01-30 23:16:47 +01:00
|
|
|
|
2015-08-03 21:07:12 +02:00
|
|
|
os: Visual Studio 2015
|
|
|
|
platform: x64
|
2017-01-30 23:16:47 +01:00
|
|
|
clone_folder: C:\rpcs3
|
2015-08-17 17:14:29 +02:00
|
|
|
clone_depth: 3
|
2015-08-09 21:05:16 +02:00
|
|
|
test: off
|
2015-08-04 18:57:41 +02:00
|
|
|
|
2017-01-30 23:16:47 +01:00
|
|
|
configuration:
|
|
|
|
# Release
|
|
|
|
- ReleaseLLVM
|
|
|
|
|
2015-08-03 21:07:12 +02:00
|
|
|
before_build:
|
2017-01-30 23:16:47 +01:00
|
|
|
- ps: $env:Date="$(git show -s --date=short --format='%ad')"
|
2017-04-29 02:57:12 +02:00
|
|
|
- git submodule update --init 3rdparty/ffmpeg 3rdparty/pugixml asmjit 3rdparty/GSL 3rdparty/libpng Vulkan/glslang Vulkan/Vulkan-LoaderAndValidationLayers Utilities/yaml-cpp rsx_program_decompiler 3rdparty/cereal 3rdparty/hidapi
|
2015-08-12 19:20:58 +02:00
|
|
|
- 7z x wxWidgets.7z -aos -oC:\rpcs3\wxWidgets > null
|
2016-02-03 18:34:51 +01:00
|
|
|
- 7z x zlib.7z -aos -oC:\rpcs3\ > null
|
2016-07-11 16:26:47 +02:00
|
|
|
- 7z x vulkan.7z -aos -oC:\rpcs3\Vulkan > null
|
2017-01-30 23:16:47 +01:00
|
|
|
- if %configuration%==Release (cmake -G "Visual Studio 14 Win64" -DZLIB_ROOT=C:/rpcs3/zlib/ -DVULKAN_PREBUILT=ON)
|
2017-03-21 18:16:18 +01:00
|
|
|
else (7z x llvmlibs.7z -aos -oC:\rpcs3 > null && cmake -G "Visual Studio 14 Win64" -DLLVM_DIR=C:/rpcs3/llvm_build/lib/cmake/llvm -DZLIB_ROOT=C:/rpcs3/zlib/ -DVULKAN_PREBUILT=ON)
|
2015-08-04 18:57:41 +02:00
|
|
|
|
|
|
|
build_script:
|
2015-08-08 16:05:32 +02:00
|
|
|
- cmake --build . --config Release -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
2015-08-03 21:07:12 +02:00
|
|
|
|
|
|
|
install:
|
2017-05-23 16:18:49 +02:00
|
|
|
- if not exist wxWidgets.7z appveyor DownloadFile "https://dl.dropboxusercontent.com/s/c1by0uulee6g8th/wxWidgets.7z?dl=0" -FileName wxWidgets.7z
|
|
|
|
- if not exist llvmlibs.7z appveyor DownloadFile "https://drive.google.com/uc?export=download&id=0B8A6NaxhQAGRY2k3Q2Yya05lcm8" -FileName llvmlibs.7z
|
|
|
|
- if not exist vulkan.7z appveyor DownloadFile "https://drive.google.com/uc?export=download&id=0B8A6NaxhQAGRa21fbDQteTN1dGs" -FileName vulkan.7z
|
|
|
|
- if not exist zlib.7z appveyor DownloadFile "https://drive.google.com/uc?export=download&id=0B6v_qtb9hkicQ2hHa2dRbF83cE0" -FileName zlib.7z
|
2015-08-12 19:20:58 +02:00
|
|
|
- set WXWIN=C:\rpcs3\wxWidgets
|
2016-03-18 15:13:52 +01:00
|
|
|
- set OPENALDIR=C:\rpcs3\3rdparty\OpenAL
|
2015-08-04 18:57:41 +02:00
|
|
|
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;C:\wxWidgets;%PATH%
|
2015-08-09 21:05:16 +02:00
|
|
|
- set COMMIT_SHA=%APPVEYOR_REPO_COMMIT:~0,8%
|
2015-08-04 18:23:35 +02:00
|
|
|
|
2015-08-09 21:05:16 +02:00
|
|
|
artifacts:
|
|
|
|
- path: bin
|
2017-03-11 20:06:12 +01:00
|
|
|
name: 'rpcs3-v0.0.2-$(Date)-$(COMMIT_SHA)_win64'
|
2017-01-30 23:16:47 +01:00
|
|
|
type: zip
|
2017-05-23 16:18:49 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- wxWidgets.7z -> appveyor.yml
|
|
|
|
- llvmlibs.7z -> appveyor.yml
|
|
|
|
- vulkan.7z -> appveyor.yml
|
|
|
|
- zlib.7z -> appveyor.yml
|