Skip to content

Commit

Permalink
Test MSVC Debug and Release builds in the same build step
Browse files Browse the repository at this point in the history
  • Loading branch information
Naios committed Sep 24, 2019
1 parent d1035e8 commit 95e5f5c
Showing 1 changed file with 14 additions and 22 deletions.
36 changes: 14 additions & 22 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,13 @@ image:

environment:
matrix:
- CONFIGURATION: Debug
FU2_WITH_NO_EXCEPTIONS: OFF
- FU2_WITH_NO_EXCEPTIONS: OFF
FU2_WITH_CPP_LATEST: OFF
- CONFIGURATION: Debug
FU2_WITH_NO_EXCEPTIONS: ON
- FU2_WITH_NO_EXCEPTIONS: ON
FU2_WITH_CPP_LATEST: OFF
- CONFIGURATION: Debug
FU2_WITH_NO_EXCEPTIONS: OFF
- FU2_WITH_NO_EXCEPTIONS: OFF
FU2_WITH_CPP_LATEST: ON
- CONFIGURATION: Debug
FU2_WITH_NO_EXCEPTIONS: ON
FU2_WITH_CPP_LATEST: ON
- CONFIGURATION: Release
FU2_WITH_NO_EXCEPTIONS: OFF
FU2_WITH_CPP_LATEST: OFF
- CONFIGURATION: Release
FU2_WITH_NO_EXCEPTIONS: ON
FU2_WITH_CPP_LATEST: OFF
- CONFIGURATION: Release
FU2_WITH_NO_EXCEPTIONS: OFF
FU2_WITH_CPP_LATEST: ON
- CONFIGURATION: Release
FU2_WITH_NO_EXCEPTIONS: ON
- FU2_WITH_NO_EXCEPTIONS: ON
FU2_WITH_CPP_LATEST: ON

platform:
Expand All @@ -45,8 +29,16 @@ before_build:
-DFU2_WITH_CPP_LATEST=%FU2_WITH_CPP_LATEST%
build_script:
- cmd: cmake --build build --config %CONFIGURATION% --target ALL_BUILD -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:minimal /maxcpucount:2 /nologo
- cmd: >
cmake --build build --config Debug --target ALL_BUILD
-- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
/verbosity:minimal /maxcpucount:2 /nologo
- cmd: >
cmake --build build --config Release --target ALL_BUILD
-- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
/verbosity:minimal /maxcpucount:2 /nologo
test_script:
- cmd: cd build
- cmd: ctest -C %CONFIGURATION% -V .
- cmd: ctest -C Debug -V .
- cmd: ctest -C Release -V .

0 comments on commit 95e5f5c

Please sign in to comment.