作者: 韩晨旭 10225101440 李畅 10225102463
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

36 satır
1.0 KiB

  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 2019
  10. APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
  11. CMAKE_GENERATOR: Visual Studio 16 2019
  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%"=="x86" (set CMAKE_GENERATOR_PLATFORM="Win32")
  23. else (set CMAKE_GENERATOR_PLATFORM="%platform%")
  24. - cmake --version
  25. - cmake .. -G "%CMAKE_GENERATOR%" -A "%CMAKE_GENERATOR_PLATFORM%"
  26. -DCMAKE_CONFIGURATION_TYPES="%CONFIGURATION%"
  27. - cmake --build . --config "%CONFIGURATION%"
  28. - cd ..
  29. test_script:
  30. - cd build && ctest --verbose --build-config "%CONFIGURATION%" && cd ..