You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 satır
1.5KB

  1. # Refer: https://aka.ms/yaml
  2. jobs:
  3. - job: Windows_MSVC
  4. pool:
  5. vmImage: vs2017-win2016
  6. steps:
  7. - script: |
  8. echo Loading VS environment
  9. call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\Tools\\vsdevcmd" -arch=x64 || exit 1
  10. echo Executing build/test script
  11. python -u build.py --cxx cl.exe --test --static || exit 1
  12. displayName: Build and Run Unit Tests
  13. - publish: _build/ddslim.exe
  14. artifact: DDSLiM Executable - Windows
  15. - script: |
  16. python -u test.py --exe _build/ddslim -T:msvc || exit 1
  17. displayName: Smoke Tests
  18. - job: Linux_GCC
  19. pool:
  20. vmImage: ubuntu-18.04
  21. steps:
  22. - script: |
  23. set -eu
  24. sudo apt install -y python3-minimal g++-8
  25. python3 -u build.py --cxx g++-8 --test --static
  26. displayName: Build and Run Unit Tests
  27. - publish: _build/ddslim
  28. artifact: DDSLiM Executable - Linux
  29. - script: |
  30. set -eu
  31. python3 -u test.py --exe _build/ddslim -T:gcc-8
  32. displayName: Smoke Tests
  33. - job: macOS
  34. pool:
  35. vmImage: macOS-10.14
  36. steps:
  37. - script: |
  38. set -eu
  39. brew install gcc@8
  40. python3 -u build.py --cxx g++-8 --test
  41. displayName: Build and Run Unit Tests
  42. - publish: _build/ddslim
  43. artifact: DDSLiM Executable - macOS
  44. - script: |
  45. set -eu
  46. python3 -u test.py --exe _build/ddslim -T:gcc-8
  47. displayName: Smoke Tests