diff options
author | Marcel Metz <mmetz@adrian-broher.net> | 2016-10-05 15:36:27 +0200 |
---|---|---|
committer | Marcel Metz <mmetz@adrian-broher.net> | 2016-10-05 15:41:10 +0200 |
commit | 43efc32a1bed6fa7c8efc85652fd6cc32126a463 (patch) | |
tree | 1dc9053697afe5ae7a285a029799a59e4acbfd21 | |
parent | db56ec5acf2817375064c3358a389ca89c24f1d4 (diff) | |
download | libvorbis-git-43efc32a1bed6fa7c8efc85652fd6cc32126a463.tar.gz |
Add BUILD_SYSTEM env variable to AppVeyor build matrix
This allows to switch between different build systems when building
multiple test matrix configurations.
-rw-r--r-- | appveyor.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index 85299147..5a76e527 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% |