libmdbx/appveyor.yml

34 lines
733 B
YAML
Raw Normal View History

image: Visual Studio 2015
environment:
matrix:
# - Toolset: v141
- Toolset: v140
- Toolset: v120
- Toolset: v110
- Toolset: v100
2017-03-29 06:11:33 +08:00
platform:
- x86
2017-04-11 04:34:59 +08:00
- x64
2017-03-29 06:11:33 +08:00
configuration:
- Release
- Debug
build:
verbosity: minimal
project: mdbx.sln
test_script:
- ps: |
2017-04-11 04:34:59 +08:00
if (($env:PLATFORM -eq "x86") -and (Test-Path "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe" -PathType Leaf)) {
2017-04-25 00:03:38 +08:00
$test = "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe"
2017-04-11 04:34:59 +08:00
} else {
2017-04-25 00:03:38 +08:00
$test = "C:\projects\libmdbx\$env:PLATFORM\$env:CONFIGURATION\test.exe"
2017-04-11 04:34:59 +08:00
}
2017-04-25 00:03:38 +08:00
& "$test" --pathname=tmp.db --dont-cleanup-after basic | Tee-Object -file test.log | Select-Object -last 42
2017-04-25 23:30:31 +08:00
on_failure:
- ps: Push-AppveyorArtifact test.log