mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-06 20:44:12 +08:00
mdbx: ci-appveyor - complete matrix MSVC 2013/2015/2017.
Change-Id: Ie7984960e83bb8e4366531665c2f5195eca6cc41
This commit is contained in:
parent
84b4883f00
commit
a9faaaaf21
47
appveyor.yml
47
appveyor.yml
@ -1,33 +1,44 @@
|
|||||||
image: Visual Studio 2015
|
version: 0.1.2.{build}
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
# - Toolset: v141
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
- Toolset: v140
|
TOOLSET: v141
|
||||||
- Toolset: v120
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
- Toolset: v110
|
TOOLSET: v140
|
||||||
- Toolset: v100
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
|
||||||
|
TOOLSET: v120
|
||||||
platform:
|
|
||||||
- x86
|
|
||||||
- x64
|
|
||||||
|
|
||||||
configuration:
|
configuration:
|
||||||
- Release
|
- Debug
|
||||||
- Debug
|
- Release
|
||||||
|
|
||||||
build:
|
platform:
|
||||||
verbosity: minimal
|
- x86
|
||||||
project: mdbx.sln
|
- x64
|
||||||
|
#- ARM
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- ps: >
|
||||||
|
msbuild "C:\projects\libmdbx\mdbx.sln" /verbosity:minimal
|
||||||
|
/logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||||
|
/property:PlatformToolset=$env:TOOLSET
|
||||||
|
/property:Configuration=$env:CONFIGURATION
|
||||||
|
/property:Platform=$env:PLATFORM
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- ps: |
|
- ps: |
|
||||||
if (($env:PLATFORM -eq "x86") -and (Test-Path "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe" -PathType Leaf)) {
|
if (($env:PLATFORM -eq "x86") -and (Test-Path "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe" -PathType Leaf)) {
|
||||||
$test = "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe"
|
$test = "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe"
|
||||||
} else {
|
} elseif (($env:PLATFORM -ne "ARM") -and ($env:PLATFORM -ne "ARM64")) {
|
||||||
$test = "C:\projects\libmdbx\$env:PLATFORM\$env:CONFIGURATION\test.exe"
|
$test = "C:\projects\libmdbx\$env:PLATFORM\$env:CONFIGURATION\test.exe"
|
||||||
|
} else {
|
||||||
|
$test = ""
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($test -ne "") {
|
||||||
|
& "$test" --pathname=tmp.db --dont-cleanup-after basic | Tee-Object -file test.log | Select-Object -last 42
|
||||||
}
|
}
|
||||||
& "$test" --pathname=tmp.db --dont-cleanup-after basic | Tee-Object -file test.log | Select-Object -last 42
|
|
||||||
|
|
||||||
on_failure:
|
on_failure:
|
||||||
- ps: Push-AppveyorArtifact test.log
|
- ps: Push-AppveyorArtifact test.log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user