azure-pipelines.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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: ubuntu_18_04_mem_pool_on
  45. displayName: 'Build - Ubuntu 18.04 - With Memory Pool'
  46. continueOnError: false
  47. pool:
  48. vmImage: 'Ubuntu 18.04'
  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: ubuntu_18_04_mem_pool_off
  64. displayName: 'Build - Ubuntu 18.04 - No Memory Pool'
  65. continueOnError: false
  66. pool:
  67. vmImage: 'Ubuntu 18.04'
  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: macOS_mem_pool_on
  83. displayName: 'Build - macOS - With Memory Pool'
  84. continueOnError: false
  85. pool:
  86. vmImage: 'macOS-10.14'
  87. workspace:
  88. clean: all
  89. steps:
  90. - script: |
  91. mkdir build
  92. - script: |
  93. cmake -DCMAKE_BUILD_TYPE=Release ..
  94. make
  95. displayName: 'CMake'
  96. workingDirectory: build
  97. - script: |
  98. make test ARGS="-V"
  99. displayName: 'Test'
  100. workingDirectory: build
  101. - job: macOS_mem_pool_off
  102. displayName: 'Build - macOS - No Memory Pool'
  103. continueOnError: false
  104. pool:
  105. vmImage: 'macOS-10.14'
  106. workspace:
  107. clean: all
  108. steps:
  109. - script: |
  110. mkdir build
  111. - script: |
  112. cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -DCMAKE_BUILD_TYPE=Release ..
  113. make
  114. displayName: 'CMake'
  115. workingDirectory: build
  116. - script: |
  117. make test ARGS="-V"
  118. displayName: 'Test'
  119. workingDirectory: build
  120. - job: windows_mem_pool_off
  121. displayName: 'Build - Windows - With Memory Pool'
  122. continueOnError: false
  123. pool:
  124. vmImage: 'windows-latest'
  125. workspace:
  126. clean: all
  127. steps:
  128. - script: |
  129. MD build
  130. - script: |
  131. cmake ..
  132. cmake --build .
  133. displayName: 'CMake'
  134. workingDirectory: build
  135. - script: |
  136. oatppAllTests.exe
  137. displayName: 'Test'
  138. workingDirectory: build\test\Debug\
  139. - job: windows_mem_pool_on
  140. displayName: 'Build - Windows - No Memory Pool'
  141. continueOnError: false
  142. pool:
  143. vmImage: 'windows-latest'
  144. workspace:
  145. clean: all
  146. steps:
  147. - script: |
  148. MD build
  149. - script: |
  150. cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON ..
  151. cmake --build .
  152. displayName: 'CMake'
  153. workingDirectory: build
  154. - script: |
  155. oatppAllTests.exe
  156. displayName: 'Test'
  157. workingDirectory: build\test\Debug\