Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

azure-pipelines.yml 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  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