azure-pipelines.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # Starter pipeline
  2. # Start with a minimal pipeline that you can customize to build and deploy your code.
  3. # Add steps that build, run tests, deploy, and more:
  4. # https://aka.ms/yaml
  5. jobs:
  6. - job: ubuntu_20_04_mem_pool_on
  7. displayName: 'Build - Ubuntu 20.04'
  8. continueOnError: false
  9. pool:
  10. vmImage: 'ubuntu-20.04'
  11. workspace:
  12. clean: all
  13. steps:
  14. - script: |
  15. mkdir build
  16. - script: |
  17. cmake -DCMAKE_BUILD_TYPE=Release ..
  18. make
  19. displayName: 'CMake'
  20. workingDirectory: build
  21. - script: |
  22. make test ARGS="-V"
  23. displayName: 'Test'
  24. workingDirectory: build
  25. - job: ubuntu_18_04_mem_pool_on
  26. displayName: 'Build - Ubuntu 18.04'
  27. continueOnError: false
  28. pool:
  29. vmImage: 'Ubuntu 18.04'
  30. workspace:
  31. clean: all
  32. steps:
  33. - script: |
  34. mkdir build
  35. - script: |
  36. cmake -DCMAKE_BUILD_TYPE=Release ..
  37. make
  38. displayName: 'CMake'
  39. workingDirectory: build
  40. - script: |
  41. make test ARGS="-V"
  42. displayName: 'Test'
  43. workingDirectory: build
  44. - job: macOS_mem_pool_on
  45. displayName: 'Build - macOS'
  46. continueOnError: false
  47. pool:
  48. vmImage: 'macOS-latest'
  49. workspace:
  50. clean: all
  51. steps:
  52. - script: |
  53. mkdir build
  54. - script: |
  55. cmake -DCMAKE_BUILD_TYPE=Release ..
  56. make
  57. displayName: 'CMake'
  58. workingDirectory: build
  59. - script: |
  60. make test ARGS="-V"
  61. displayName: 'Test'
  62. workingDirectory: build
  63. - job: windows_mem_pool_off
  64. displayName: 'Build - Windows'
  65. continueOnError: false
  66. pool:
  67. vmImage: 'windows-latest'
  68. workspace:
  69. clean: all
  70. steps:
  71. - script: |
  72. MD build
  73. - script: |
  74. cmake ..
  75. cmake --build .
  76. displayName: 'CMake'
  77. workingDirectory: build
  78. - script: |
  79. oatppAllTests.exe
  80. displayName: 'Test'
  81. workingDirectory: build\test\Debug\