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.

45 line
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: sudo apt install -y python3-minimal g++-8
  23. displayName: Prepare System
  24. - script: python3 -u build.py --cxx g++-8 --test --static
  25. displayName: Build and Run Unit Tests
  26. - publish: _build/ddslim
  27. artifact: DDSLiM Executable - Linux
  28. - script: python3 -u test.py --exe _build/ddslim -T:gcc-8
  29. displayName: Smoke Tests
  30. - job: macOS
  31. pool:
  32. vmImage: macOS-10.14
  33. steps:
  34. - script: brew install gcc@8
  35. displayName: Prepare System
  36. - script: python3 -u build.py --cxx g++-8 --test
  37. displayName: Build and Run Unit Tests
  38. - publish: _build/ddslim
  39. artifact: DDSLiM Executable - macOS
  40. - script: python3 -u test.py --exe _build/ddslim -T:gcc-8
  41. displayName: Smoke Tests