azure-pipelines.yml 1001 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. - task: CMake@1
  15. - script: |
  16. cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON
  17. make
  18. displayName: 'CMake'
  19. - script: |
  20. make test ARGS="-V"
  21. displayName: 'Test'
  22. - job: macOS
  23. displayName: 'Build - macOS-10.13'
  24. continueOnError: false
  25. pool:
  26. vmImage: 'macOS-10.13'
  27. workspace:
  28. clean: all
  29. steps:
  30. - task: CMake@1
  31. - script: |
  32. cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOATPP_INSTALL=OFF -DOATPP_BUILD_TESTS=ON
  33. make
  34. displayName: 'CMake'
  35. - script: |
  36. make test ARGS="-V"
  37. displayName: 'Test'