azure-pipelines.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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_16_04_mem_pool_on
  7. displayName: 'Build - Ubuntu 16.04 - With Memory Pool'
  8. continueOnError: false
  9. pool:
  10. vmImage: 'Ubuntu 16.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_16_04_mem_pool_off
  26. displayName: 'Build - Ubuntu 16.04 - No Memory Pool'
  27. continueOnError: false
  28. pool:
  29. vmImage: 'Ubuntu 16.04'
  30. workspace:
  31. clean: all
  32. steps:
  33. - script: |
  34. mkdir build
  35. - script: |
  36. cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -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 - With Memory Pool'
  46. continueOnError: false
  47. pool:
  48. vmImage: 'macOS-10.14'
  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: macOS_mem_pool_off
  64. displayName: 'Build - macOS - No Memory Pool'
  65. continueOnError: false
  66. pool:
  67. vmImage: 'macOS-10.14'
  68. workspace:
  69. clean: all
  70. steps:
  71. - script: |
  72. mkdir build
  73. - script: |
  74. cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -DCMAKE_BUILD_TYPE=Release ..
  75. make
  76. displayName: 'CMake'
  77. workingDirectory: build
  78. - script: |
  79. make test ARGS="-V"
  80. displayName: 'Test'
  81. workingDirectory: build
  82. - job: windows_mem_pool_off
  83. displayName: 'Build - Windows - With Memory Pool'
  84. continueOnError: false
  85. pool:
  86. vmImage: 'windows-latest'
  87. workspace:
  88. clean: all
  89. steps:
  90. - script: |
  91. MD build
  92. - script: |
  93. cmake ..
  94. cmake --build .
  95. displayName: 'CMake'
  96. workingDirectory: build
  97. - script: |
  98. oatppAllTests.exe
  99. displayName: 'Test'
  100. workingDirectory: build\test\Debug\
  101. - job: windows_mem_pool_on
  102. displayName: 'Build - Windows - No Memory Pool'
  103. continueOnError: false
  104. pool:
  105. vmImage: 'windows-latest'
  106. workspace:
  107. clean: all
  108. steps:
  109. - script: |
  110. MD build
  111. - script: |
  112. cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON ..
  113. cmake --build .
  114. displayName: 'CMake'
  115. workingDirectory: build
  116. - script: |
  117. oatppAllTests.exe
  118. displayName: 'Test'
  119. workingDirectory: build\test\Debug\