diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-11 12:29:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-11 12:29:10 +0300 |
commit | 92a5c27c4ea88f2f7c4810c789f7b5aebe06d03c (patch) | |
tree | e24f375b06c781077d22028a5d86f2d56585dc6c /libs/libmdbx/src/appveyor.yml | |
parent | 09693d256f7a0ec0c24dce56f9aca87d3a01856d (diff) |
libmdbx extracted to separate dll
Diffstat (limited to 'libs/libmdbx/src/appveyor.yml')
-rw-r--r-- | libs/libmdbx/src/appveyor.yml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/libs/libmdbx/src/appveyor.yml b/libs/libmdbx/src/appveyor.yml new file mode 100644 index 0000000000..d002453fdd --- /dev/null +++ b/libs/libmdbx/src/appveyor.yml @@ -0,0 +1,52 @@ +version: 0.2.0.{build} + +environment: + matrix: + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + TOOLSET: v141 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + TOOLSET: v140 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + TOOLSET: v120 + +branches: + except: + - coverity_scan + +configuration: +- Debug +- Release + +platform: +- x86 +- 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: +- ps: | + 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" + $mdbx_chk = "C:\projects\libmdbx\Win32\$env:CONFIGURATION\mdbx_chk.exe" + } elseif (($env:PLATFORM -ne "ARM") -and ($env:PLATFORM -ne "ARM64")) { + $test = "C:\projects\libmdbx\$env:PLATFORM\$env:CONFIGURATION\test.exe" + $mdbx_chk = "C:\projects\libmdbx\$env:PLATFORM\$env:CONFIGURATION\mdbx_chk.exe" + } else { + $test = "" + $mdbx_chk = "" + } + + if ($test -ne "") { + & "$test" --pathname=tmp.db --dont-cleanup-after basic | Tee-Object -file test.log | Select-Object -last 42 + & "$mdbx_chk" -nvv tmp.db | Tee-Object -file chk.log | Select-Object -last 42 + } + +on_failure: +- ps: Push-AppveyorArtifact test.log chk.log |