LevelDB project 1 10225501460 林子骥 10211900416 郭夏辉
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

2 months ago
  1. version: '{build}'
  2. image: Visual Studio 2017
  3. configuration:
  4. - Debug
  5. - Release
  6. environment:
  7. matrix:
  8. - compiler: msvc-15-seh
  9. generator: "Visual Studio 15 2017"
  10. - compiler: msvc-15-seh
  11. generator: "Visual Studio 15 2017 Win64"
  12. - compiler: msvc-14-seh
  13. generator: "Visual Studio 14 2015"
  14. - compiler: msvc-14-seh
  15. generator: "Visual Studio 14 2015 Win64"
  16. - compiler: gcc-5.3.0-posix
  17. generator: "MinGW Makefiles"
  18. cxx_path: 'C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin'
  19. APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
  20. matrix:
  21. fast_finish: true
  22. install:
  23. # git bash conflicts with MinGW makefiles
  24. - if "%generator%"=="MinGW Makefiles" (set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%")
  25. - if not "%cxx_path%"=="" (set "PATH=%PATH%;%cxx_path%")
  26. build_script:
  27. - md _build -Force
  28. - cd _build
  29. - echo %configuration%
  30. - cmake -G "%generator%" "-DCMAKE_BUILD_TYPE=%configuration%" -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON ..
  31. - cmake --build . --config %configuration%
  32. test_script:
  33. - ctest --build-config %configuration% --timeout 300 --output-on-failure
  34. artifacts:
  35. - path: '_build/CMakeFiles/*.log'
  36. name: logs
  37. - path: '_build/Testing/**/*.xml'
  38. name: test_results