提供基本的ttl测试用例
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
991 B

  1. # Build matrix / environment variables are explained on:
  2. # https://www.appveyor.com/docs/appveyor-yml/
  3. # This file can be validated on: https://ci.appveyor.com/tools/validate-yaml
  4. version: "{build}"
  5. environment:
  6. matrix:
  7. # AppVeyor currently has no custom job name feature.
  8. # http://help.appveyor.com/discussions/questions/1623-can-i-provide-a-friendly-name-for-jobs
  9. - JOB: Visual Studio 2017
  10. APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
  11. CMAKE_GENERATOR: Visual Studio 15 2017
  12. platform:
  13. - x86
  14. - x64
  15. configuration:
  16. - RelWithDebInfo
  17. - Debug
  18. build_script:
  19. - git submodule update --init --recursive
  20. - mkdir build
  21. - cd build
  22. - if "%platform%"=="x64" set CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64
  23. - cmake --version
  24. - cmake .. -G "%CMAKE_GENERATOR%"
  25. -DCMAKE_CONFIGURATION_TYPES="%CONFIGURATION%"
  26. - cmake --build . --config "%CONFIGURATION%"
  27. - cd ..
  28. test_script:
  29. - cd build && ctest --verbose --build-config "%CONFIGURATION%" && cd ..