-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
appveyor.yml
24 lines (23 loc) · 1012 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: 1.0.{build}
os: Windows Server 2012 R2
configuration:
- Release
platform: x64
shallow_clone: true
clone_folder: C:\vowpal_wabbit
# need to install nuget packages before Visual Studio starts to make ANTLR targets available.
build_script:
- cd c:\vowpal_wabbit
- vowpalwabbit\.nuget\nuget install -o vowpalwabbit\packages cs\cs\packages.config
- vowpalwabbit\.nuget\nuget install -o vowpalwabbit\packages cs\unittest\packages.config
- vowpalwabbit\.nuget\nuget install -o vowpalwabbit\packages vowpalwabbit\packages.config
- '"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "C:\vowpal_wabbit\vowpalwabbit\vw.sln" /m /verbosity:normal /p:Configuration=Release;Platform=x64'
test_script:
- ps: >-
if($env:PLATFORM -eq "x64")
{
cd c:\vowpal_wabbit
vstest.console /Platform:x64 /inIsolation vowpalwabbit\x64\Release\cs_unittest.dll
}
on_failure:
- ps: Get-ChildItem C:\Users\appveyor\AppData\Local\CrashDumps\\*.dmp | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }