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 1.4KB

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