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.5KB

5 yıl önce
5 yıl önce
5 yıl önce
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f || exit 1
  12. python -m pip install pytest pytest-xdist || exit 1
  13. python -u tools/ci.py -B build -T tools\msvc.dds || exit 1
  14. displayName: Full CI
  15. - publish: _build/dds.exe
  16. artifact: DDS Executable - Windows VS2019
  17. - job: Linux_GCC8
  18. pool:
  19. vmImage: ubuntu-18.04
  20. steps:
  21. - script: |
  22. set -eu
  23. sudo apt update -y
  24. sudo apt install -y python3-minimal g++-9 g++-8 ccache
  25. python3 -m pip install pytest pytest-xdist
  26. displayName: Prepare System
  27. - script: python3 -u tools/ci.py -B build -T tools/gcc-9.dds
  28. displayName: Full CI
  29. - publish: _build/dds
  30. artifact: DDS Executable - Linux
  31. - job: macOS_GCC8
  32. pool:
  33. vmImage: macOS-10.14
  34. steps:
  35. - script: brew install gcc@8 gcc@9 ccache
  36. displayName: Prepare System
  37. - script: |
  38. set -eu
  39. python3 -m pip install pytest pytest-xdist
  40. python3 -u tools/ci.py -B build -T tools/gcc-9.dds
  41. displayName: Build and Run Unit Tests
  42. - publish: _build/dds
  43. artifact: DDS Executable - macOS