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.

azure-pipelines.yml 615B

123456789101112131415161718192021222324
  1. # Refer: https://aka.ms/yaml
  2. pool:
  3. vmImage: 'ubuntu-latest'
  4. jobs:
  5. - job: Windows MSVC
  6. pool:
  7. vmImage: vs2017-win2016
  8. steps:
  9. - script: |
  10. call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\Tools\\vsdevcmd" -arch=x64 &&
  11. python build.py --cxx cl.exe --test
  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 build.py --cxx g++-8 --test
  21. displayName: Build and Run Tests