作者: 谢瑞阳 10225101483 徐翔宇 10225101535
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

38 righe
985 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:
  19. verbosity: minimal
  20. build_script:
  21. - git submodule update --init --recursive
  22. - mkdir build
  23. - cd build
  24. - if "%platform%"=="x64" set CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64
  25. - cmake --version
  26. - cmake .. -G "%CMAKE_GENERATOR%"
  27. -DCMAKE_CONFIGURATION_TYPES="%CONFIGURATION%"
  28. - cmake --build . --config "%CONFIGURATION%"
  29. - cd ..
  30. test_script:
  31. - cd build ; ctest --verbose ; cd ..