azure-pipelines.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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
  7. displayName: 'Build - Ubuntu 16.04'
  8. continueOnError: false
  9. pool:
  10. vmImage: 'Ubuntu 16.04'
  11. workspace:
  12. clean: all
  13. steps:
  14. - script: |
  15. mkdir build
  16. - task: CMake@1
  17. - script: |
  18. cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON ..
  19. make
  20. displayName: 'CMake'
  21. workingDirectory: build
  22. - script: |
  23. make test ARGS="-V"
  24. displayName: 'Test'
  25. workingDirectory: build
  26. - job: macOS
  27. displayName: 'Build - macOS-10.13'
  28. continueOnError: false
  29. pool:
  30. vmImage: 'macOS-10.13'
  31. workspace:
  32. clean: all
  33. steps:
  34. - script: |
  35. mkdir build
  36. - task: CMake@1
  37. - script: |
  38. cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON ..
  39. make
  40. displayName: 'CMake'
  41. workingDirectory: build
  42. - script: |
  43. make test ARGS="-V"
  44. displayName: 'Test'
  45. workingDirectory: build