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.

33 lines
863B

  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 || exit 1
  12. displayName: Build and Run Tests
  13. - job: Linux_GCC
  14. pool:
  15. vmImage: ubuntu-18.04
  16. steps:
  17. - script: |
  18. set -eu
  19. sudo apt install -y python3-minimal g++-8
  20. python3 -u build.py --cxx g++-8 --test
  21. displayName: Build and Run Tests
  22. - job: macOS
  23. pool:
  24. vmImage: macOS-10.14
  25. steps:
  26. - script: |
  27. set -eu
  28. brew install gcc@8
  29. python3 -u build.py --cxx g++-8 --test