mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
a5874d76d1
* Add caching for dependencies in appveyor.yml * Add cache clearing support for Appveyor Clears the cached files if appveyor.yml changes
44 lines
2.0 KiB
YAML
44 lines
2.0 KiB
YAML
version: '0.0.2-{build}'
|
|
|
|
os: Visual Studio 2015
|
|
platform: x64
|
|
clone_folder: C:\rpcs3
|
|
clone_depth: 3
|
|
test: off
|
|
|
|
configuration:
|
|
# Release
|
|
- ReleaseLLVM
|
|
|
|
before_build:
|
|
- ps: $env:Date="$(git show -s --date=short --format='%ad')"
|
|
- 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
|
|
- 7z x wxWidgets.7z -aos -oC:\rpcs3\wxWidgets > null
|
|
- 7z x zlib.7z -aos -oC:\rpcs3\ > null
|
|
- 7z x vulkan.7z -aos -oC:\rpcs3\Vulkan > null
|
|
- if %configuration%==Release (cmake -G "Visual Studio 14 Win64" -DZLIB_ROOT=C:/rpcs3/zlib/ -DVULKAN_PREBUILT=ON)
|
|
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)
|
|
|
|
build_script:
|
|
- cmake --build . --config Release -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
|
install:
|
|
- 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
|
|
- set WXWIN=C:\rpcs3\wxWidgets
|
|
- set OPENALDIR=C:\rpcs3\3rdparty\OpenAL
|
|
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;C:\wxWidgets;%PATH%
|
|
- set COMMIT_SHA=%APPVEYOR_REPO_COMMIT:~0,8%
|
|
|
|
artifacts:
|
|
- path: bin
|
|
name: 'rpcs3-v0.0.2-$(Date)-$(COMMIT_SHA)_win64'
|
|
type: zip
|
|
|
|
cache:
|
|
- wxWidgets.7z -> appveyor.yml
|
|
- llvmlibs.7z -> appveyor.yml
|
|
- vulkan.7z -> appveyor.yml
|
|
- zlib.7z -> appveyor.yml |