forked from VowpalWabbit/vowpal_wabbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (32 loc) · 1.21 KB
/
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
25
26
27
28
29
30
31
32
33
version: 1.0.{build}
os: Windows Server 2012 R2
configuration:
- Release
platform: x64
clone_folder: C:\vowpal_wabbit
cache:
- vowpalwabbit\packages -> **\packages.config
# need to install nuget packages before Visual Studio starts to make ANTLR targets available.
build_script:
# Temporary workaround: https://github.com/Microsoft/vcpkg/issues/4189#issuecomment-417462822
- rd /s /q C:\OpenSSL-v11-Win32
- rd /s /q C:\OpenSSL-v11-Win64
# Set up vowpal_wabbit repo root
- SET vwRoot=C:\vowpal_wabbit
# Set up toolchain integration
- SET "msbuildPath=C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe"
- SET nugetPath=%vwRoot%\vowpalwabbit\.nuget\nuget
# Restore and build
- cd %vwRoot%
- git submodule update --init --recursive
- .scripts/restore.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 /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 }