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.

39 lines
1.2KB

  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 and Tests
  11. python -u tools/ci.py --cxx cl.exe -T tools\\msvc.dds || exit 1
  12. displayName: Full CI
  13. - publish: _build/dds.exe
  14. artifact: DDS Executable - Windows VS2019
  15. - job: Linux_GCC8
  16. pool:
  17. vmImage: ubuntu-18.04
  18. steps:
  19. - script: sudo apt update -y && sudo apt install -y python3-minimal g++-8
  20. displayName: Prepare System
  21. - script: python3 -u tools/ci.py --cxx g++-8 -T tools/gcc-8.dds
  22. displayName: Full CI
  23. - publish: _build/dds
  24. artifact: DDS Executable - Linux
  25. - job: macOS_GCC8
  26. pool:
  27. vmImage: macOS-10.14
  28. steps:
  29. - script: brew install gcc@8
  30. displayName: Prepare System
  31. - script: python3 -u tools/ci.py --cxx g++-8 -T tools/gcc-8.dds
  32. displayName: Build and Run Unit Tests
  33. - publish: _build/dds
  34. artifact: DDS Executable - macOS