From 9a8fa127181f07e8f297270403e6caf1b2faf1e7 Mon Sep 17 00:00:00 2001 From: Danila Malyutin Date: Mon, 3 Aug 2015 22:07:12 +0300 Subject: [PATCH 1/4] Add appveyor.yml --- appveyor.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000000..1b69baa385 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,15 @@ +version: 1.0.{build} +os: Visual Studio 2015 +configuration: Release +platform: x64 +clone_folder: c:\projects\rpcs3 + +before_build: +- git submodule update --init asmjit ffmpeg minidx9 wxWidgets + +install: +- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% + +build: + project: rpcs3.sln + verbosity: minimal \ No newline at end of file From 17a4222c3132e0daf0319d4ad09bb1cf84ef6374 Mon Sep 17 00:00:00 2001 From: Danila Malyutin Date: Tue, 4 Aug 2015 18:52:16 +0300 Subject: [PATCH 2/4] Add appveyor badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index df5b0e73e9..0ce687256b 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ RPCS3 ===== [![Build Status](https://travis-ci.org/RPCS3/rpcs3.svg?branch=master)](https://travis-ci.org/RPCS3/rpcs3) +[![Build status](https://ci.appveyor.com/api/projects/status/411c4clmiohtx7eo/branch/master?svg=true)](https://ci.appveyor.com/project/rpcs3/rpcs3/branch/master) [![Coverity Status](https://scan.coverity.com/projects/3960/badge.svg)](https://scan.coverity.com/projects/3960) [![Coverage Status](https://coveralls.io/repos/DHrpcs3/rpcs3/badge.svg)](https://coveralls.io/r/DHrpcs3/rpcs3) From 0f28879f8d5bc22d2cde176300589653b100824d Mon Sep 17 00:00:00 2001 From: Danila Malyutin Date: Tue, 4 Aug 2015 19:23:35 +0300 Subject: [PATCH 3/4] Try to use cache to speed up build --- appveyor.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 1b69baa385..fbbde3cc36 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,11 +5,18 @@ platform: x64 clone_folder: c:\projects\rpcs3 before_build: -- git submodule update --init asmjit ffmpeg minidx9 wxWidgets + - git submodule update --init asmjit ffmpeg minidx9 wxWidgets install: -- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% + - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% + +cache: + - c:\projects\rpcs3\admjit -> .gitmodules + - c:\projects\rpcs3\ffmpeg -> .gitmodules + - c:\projects\rpcs3\minidx9 -> .gitmodules + - c:\projects\rpcs3\wxWidgets -> .gitmodules build: project: rpcs3.sln + parallel: true verbosity: minimal \ No newline at end of file From f35a2c8a04a013bfa0279bffed8a4c141f560bef Mon Sep 17 00:00:00 2001 From: Danila Malyutin Date: Tue, 4 Aug 2015 19:57:41 +0300 Subject: [PATCH 4/4] Be a little more consistent with travis and disable tests (we don't have any). Also cache didn't help much so disable it for now. --- appveyor.yml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index fbbde3cc36..00418ffd7a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,20 +3,30 @@ os: Visual Studio 2015 configuration: Release platform: x64 clone_folder: c:\projects\rpcs3 +clone_depth: 1 + +branches: + except: + - ppu_recompiler before_build: - - git submodule update --init asmjit ffmpeg minidx9 wxWidgets + - git submodule update --init --depth 3 asmjit minidx9 + # until git for win 2.5 release + - git submodule update --init ffmpeg wxWidgets + - if exist "c:\cache\wxWidgets\build" move c:\cache\wxWidgets\build wxWidgets\build install: - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% -cache: - - c:\projects\rpcs3\admjit -> .gitmodules - - c:\projects\rpcs3\ffmpeg -> .gitmodules - - c:\projects\rpcs3\minidx9 -> .gitmodules - - c:\projects\rpcs3\wxWidgets -> .gitmodules +after_build: +- mkdir c:\cache\wxWidgets\build +- move wxWidgets\lib\vc_x64_lib c:\cache\wxWidgets\build +# not exactly the best dependency but works for now +cache: + - c:\cache\wxWidgets\build -> .gitmodules + +test: off build: project: rpcs3.sln - parallel: true verbosity: minimal \ No newline at end of file