From: Marcel Metz Date: Wed, 5 Oct 2016 13:36:27 +0000 (+0200) Subject: Add BUILD_SYSTEM env variable to AppVeyor build matrix X-Git-Tag: v1.3.6~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=43efc32a1bed6fa7c8efc85652fd6cc32126a463;p=platform%2Fupstream%2Flibvorbis.git Add BUILD_SYSTEM env variable to AppVeyor build matrix This allows to switch between different build systems when building multiple test matrix configurations. --- diff --git a/appveyor.yml b/appveyor.yml index 8529914..5a76e52 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,9 +5,13 @@ configuration: platform: - Win32 +environment: + matrix: + - BUILD_SYSTEM: MSVC + install: - git clone -q https://github.com/xiph/ogg.git %APPVEYOR_BUILD_FOLDER%\..\libogg -- msbuild "%APPVEYOR_BUILD_FOLDER%\..\libogg\win32\VS2015\libogg_static.sln" /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:Configuration=%CONFIGURATION%;Platform=%PLATFORM% +- if "%BUILD_SYSTEM%"=="MSVC" msbuild "%APPVEYOR_BUILD_FOLDER%\..\libogg\win32\VS2015\libogg_static.sln" /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:Configuration=%CONFIGURATION%;Platform=%PLATFORM% build_script: -- msbuild "%APPVEYOR_BUILD_FOLDER%\win32\VS2010\vorbis_dynamic.sln" /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:Configuration=%CONFIGURATION%;Platform=%PLATFORM% +- if "%BUILD_SYSTEM%"=="MSVC" msbuild "%APPVEYOR_BUILD_FOLDER%\win32\VS2010\vorbis_dynamic.sln" /m /v:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:Configuration=%CONFIGURATION%;Platform=%PLATFORM%