diff --git a/appveyor.yml b/appveyor.yml index f3a6858e..f4ea2f08 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,6 +11,20 @@ environment: MSVCVERSION: "v120" MSVCYEAR: "vs2013" matrix: + - platform: Win32 + configuration: Release + WITH_LIBSODIUM: OFF # unavailable build files for VS2008 + ENABLE_CURVE: ON + CMAKE_GENERATOR: "Visual Studio 9 2008" + MSVCVERSION: "v90" + MSVCYEAR: "vs2008" + - platform: Win32 + configuration: Release + WITH_LIBSODIUM: ON + ENABLE_CURVE: ON + CMAKE_GENERATOR: "Visual Studio 10 2010" + MSVCVERSION: "v100" + MSVCYEAR: "vs2010" - platform: Win32 configuration: Release WITH_LIBSODIUM: ON @@ -100,10 +114,11 @@ before_build: - cd "%LIBZMQ_BUILDDIR%" - cmd: cmake -D CMAKE_INCLUDE_PATH="%SODIUM_INCLUDE_DIR%" -D CMAKE_LIBRARY_PATH="%SODIUM_LIBRARY_DIR%" -D WITH_LIBSODIUM="%WITH_LIBSODIUM%" -D ENABLE_DRAFTS="ON" -D ENABLE_CURVE="%ENABLE_CURVE%" -D API_POLLER="%API_POLLER%" -D POLLER="%POLLER%" -D CMAKE_C_FLAGS_RELEASE="/MT" -D CMAKE_C_FLAGS_DEBUG="/MTd" -D WITH_LIBSODIUM="%WITH_LIBSODIUM%" -D LIBZMQ_WERROR="ON" -G "%CMAKE_GENERATOR%" "%APPVEYOR_BUILD_FOLDER%" -build: - parallel: true - project: C:\projects\build_libzmq\ZeroMQ.sln - verbosity: minimal +build_script: + - cmd: set verbosity=Minimal + - cmd: if "%MSVCYEAR%"=="vs2008" set verbosity=Normal + - cmd: if "%MSVCYEAR%"=="vs2008" set path=C:\Windows\Microsoft.NET\Framework\v3.5;%path% + - cmd: msbuild C:\projects\build_libzmq\ZeroMQ.sln /verbosity:%verbosity% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" after_build: - cmd: cd %LIBZMQ_BUILDDIR%\bin\%Configuration%"