您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

40 行
1.1KB

  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 Tests
  13. - publish: _build/ddslim.exe
  14. artifact: DDSLiM Executable - Windows
  15. - job: Linux_GCC
  16. pool:
  17. vmImage: ubuntu-18.04
  18. steps:
  19. - script: |
  20. set -eu
  21. sudo apt install -y python3-minimal g++-8
  22. python3 -u build.py --cxx g++-8 --test --static
  23. displayName: Build and Run Tests
  24. - publish: _build/ddslim
  25. artifact: DDSLiM Executable - Linux
  26. - job: macOS
  27. pool:
  28. vmImage: macOS-10.14
  29. steps:
  30. - script: |
  31. set -eu
  32. brew install gcc@8
  33. python3 -u build.py --cxx g++-8 --test
  34. displayName: Build and Run Tests
  35. - publish: _build/ddslim
  36. artifact: DDSLiM Executable - macOS