Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

azure-pipelines.yml 1.5KB

5 lat temu
5 lat temu
5 lat temu
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 download -T tools\msvc.jsonc -T2 tools\msvc.next.jsonc || exit 1
  14. displayName: Full CI
  15. - publish: _build/dds.exe
  16. artifact: DDS Executable - Windows VS2019
  17. - job: Linux_GCC9
  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 ccache
  25. python3 -m pip install pytest pytest-xdist
  26. displayName: Prepare System
  27. - script: make linux-ci
  28. displayName: Full CI
  29. - publish: _build/dds
  30. artifact: DDS Executable - Linux
  31. - job: macOS_GCC9
  32. pool:
  33. vmImage: macOS-10.14
  34. steps:
  35. - script: brew install gcc@9 ccache
  36. displayName: Prepare System
  37. - script: |
  38. set -eu
  39. python3 -m pip install pytest pytest-xdist
  40. make macos-ci
  41. displayName: Build and Run Unit Tests
  42. - publish: _build/dds
  43. artifact: DDS Executable - macOS