Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

47 lines
1.7KB

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