Skip to content
Permalink
Browse files

Use Appveyor MSBuildLogger (#1904)

* Use Appveyor MSBuildLogger

* Add appveyor log to vstest
  • Loading branch information...
lalo authored and JohnLangford committed Jun 4, 2019
1 parent be4f242 commit 935fa86fea30231a8d86b2717242377e48f4e148
Showing with 4 additions and 4 deletions.
  1. +2 −2 .scripts/build.cmd
  2. +2 −2 appveyor.yml
@@ -20,8 +20,8 @@ PUSHD %~dp0

REM TODO: Figure out how to parametrize this script?! (is there a standard, or do we actually need parse args?)
ECHO Building "%vwRoot%\vowpalwabbit\vw.sln" for Release x64
"%msbuildPath%" /v:normal %__MULTIBUILD_SWITCH% /nr:false /p:Configuration=Release;Platform=x64 "%vwRoot%\vowpalwabbit\vw.sln"
"%msbuildPath%" /v:normal %__MULTIBUILD_SWITCH% /nr:false /p:Configuration=Release;Platform=x64 "%vwRoot%\vowpalwabbit\vw.sln" %1

POPD

ENDLOCAL
ENDLOCAL
@@ -20,14 +20,14 @@ build_script:
- cd %vwRoot%
- git submodule update --init --recursive
- .scripts/restore.cmd
- .scripts/build.cmd
- .scripts/build.cmd /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
test_script:
- ps: >-
if($env:PLATFORM -eq "x64")
{
cd c:\vowpal_wabbit
vstest.console /Platform:x64 /inIsolation vowpalwabbit\x64\Release\cs_unittest.dll /TestCaseFilter:"TestCategory!=NotOnVSO"
vstest.console /logger:Appveyor /Platform:x64 /inIsolation vowpalwabbit\x64\Release\cs_unittest.dll /TestCaseFilter:"TestCategory!=NotOnVSO"
}
on_failure:
- ps: Get-ChildItem C:\Users\appveyor\AppData\Local\CrashDumps\\*.dmp | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }

0 comments on commit 935fa86

Please sign in to comment.
You can’t perform that action at this time.