Skip to content

Commit

Permalink
[AppVeyor] Add VS2010 to CI
Browse files Browse the repository at this point in the history
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
  • Loading branch information
AenBleidd committed May 2, 2020
1 parent 3d779a5 commit 8f30445
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
14 changes: 12 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ image: Visual Studio 2013

matrix:
fast_finish: true
exclude:
- platform: x64
TOOLCHAIN_VERSION: 10.0

platform:
- Win32
Expand Down Expand Up @@ -60,6 +63,10 @@ configuration:

environment:
matrix:
- TOOLCHAIN_VERSION: 10.0
solution_name: win_build\boinc_vs2010.sln
depends_zip_path: https://boinc.berkeley.edu/dl/boinc_depends/boinc_depends_win_vs2010.zip
depends_path: C:\projects\boinc_depends_win_vs2010
- TOOLCHAIN_VERSION: 12.0
solution_name: win_build\boinc_vs2013.sln
depends_zip_path: https://boinc.berkeley.edu/dl/boinc_depends/boinc_depends_win_vs2013.zip
Expand All @@ -70,18 +77,21 @@ environment:

cache:
- C:\projects\boinc_depends_win_vs2013 -> appveyor.yml, win_build\load_dependencies.bat
- C:\projects\boinc_depends_win_vs2010 -> appveyor.yml, win_build\load_dependencies.bat

before_build:
- call win_build\load_dependencies.bat %depends_zip_path% %depends_path% %platform% %configuration%
- if %TOOLCHAIN_VERSION%==10.0 call "%VS100COMNTOOLS%\vsvars32.bat"
- if %TOOLCHAIN_VERSION%==10.0 git apply boinc_vs2010.sln.ci.patch
- if %TOOLCHAIN_VERSION%==12.0 call "%VS120COMNTOOLS%\vsvars32.bat"
- if %TOOLCHAIN_VERSION%==12.0 call rmdir /S /Q %localappdata%\Microsoft\VisualStudio\%TOOLCHAIN_VERSION%\ComponentModelCache

build_script:
- msbuild %solution_name% /p:Configuration=%configuration%;Platform=%platform%

after_build:
- call deploy\prepare_deployment.bat
- call deploy\deploy_to_bintray.bat
- if %TOOLCHAIN_VERSION%==12.0 call deploy\prepare_deployment.bat
- if %TOOLCHAIN_VERSION%==12.0 call deploy\deploy_to_bintray.bat

artifacts:
- path: deploy\win-apps\*.7z
Expand Down
34 changes: 34 additions & 0 deletions boinc_vs2010.sln.ci.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
diff --git a/win_build/boinc_vs2010.sln b/win_build/boinc_vs2010.sln
index 58cca98d8a..b3e4bc7b57 100644
--- a/win_build/boinc_vs2010.sln
+++ b/win_build/boinc_vs2010.sln
@@ -500,9 +500,7 @@ Global
{F243B93C-73CB-44E7-9BDC-847BB95C27CA}.EmuRelease|x64.ActiveCfg = Release|x64
{F243B93C-73CB-44E7-9BDC-847BB95C27CA}.EmuRelease|x64.Build.0 = Release|x64
{F243B93C-73CB-44E7-9BDC-847BB95C27CA}.Release|Win32.ActiveCfg = Release|Win32
- {F243B93C-73CB-44E7-9BDC-847BB95C27CA}.Release|Win32.Build.0 = Release|Win32
{F243B93C-73CB-44E7-9BDC-847BB95C27CA}.Release|x64.ActiveCfg = Release|x64
- {F243B93C-73CB-44E7-9BDC-847BB95C27CA}.Release|x64.Build.0 = Release|x64
{D9AF7F68-B881-45B1-A41C-B10E61D764EF}.Debug|Win32.ActiveCfg = Debug|Win32
{D9AF7F68-B881-45B1-A41C-B10E61D764EF}.Debug|x64.ActiveCfg = Debug|x64
{D9AF7F68-B881-45B1-A41C-B10E61D764EF}.EmuDebug|Win32.ActiveCfg = Release|Win32
@@ -606,9 +604,7 @@ Global
{25662612-421F-42F5-B5E1-D69ECBF3F5BB}.EmuRelease|x64.ActiveCfg = Release|x64
{25662612-421F-42F5-B5E1-D69ECBF3F5BB}.EmuRelease|x64.Build.0 = Release|x64
{25662612-421F-42F5-B5E1-D69ECBF3F5BB}.Release|Win32.ActiveCfg = Release|Win32
- {25662612-421F-42F5-B5E1-D69ECBF3F5BB}.Release|Win32.Build.0 = Release|Win32
{25662612-421F-42F5-B5E1-D69ECBF3F5BB}.Release|x64.ActiveCfg = Release|x64
- {25662612-421F-42F5-B5E1-D69ECBF3F5BB}.Release|x64.Build.0 = Release|x64
{49723CA5-DA05-43C0-93AB-6FD30D046919}.Debug|Win32.ActiveCfg = Debug|Win32
{49723CA5-DA05-43C0-93AB-6FD30D046919}.Debug|Win32.Build.0 = Debug|Win32
{49723CA5-DA05-43C0-93AB-6FD30D046919}.Debug|x64.ActiveCfg = Debug|x64
@@ -622,9 +618,7 @@ Global
{49723CA5-DA05-43C0-93AB-6FD30D046919}.EmuRelease|x64.ActiveCfg = Release|x64
{49723CA5-DA05-43C0-93AB-6FD30D046919}.EmuRelease|x64.Build.0 = Release|x64
{49723CA5-DA05-43C0-93AB-6FD30D046919}.Release|Win32.ActiveCfg = Release|Win32
- {49723CA5-DA05-43C0-93AB-6FD30D046919}.Release|Win32.Build.0 = Release|Win32
{49723CA5-DA05-43C0-93AB-6FD30D046919}.Release|x64.ActiveCfg = Release|x64
- {49723CA5-DA05-43C0-93AB-6FD30D046919}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

0 comments on commit 8f30445

Please sign in to comment.