build-msvc.yml 947 B

12345678910111213141516171819202122232425
  1. parameters:
  2. artifactSource: 'true'
  3. cache: 'false'
  4. version: ''
  5. steps:
  6. - script: python -m pip install --upgrade pip conan
  7. displayName: 'Install conan'
  8. - script: mkdir build && cd build && cmake -G "Visual Studio 16 2019" -A x64 --config Release -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_UNICORN=1 -DYUZU_USE_QT_WEB_ENGINE=ON -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DYUZU_ENABLE_COMPATIBILITY_REPORTING=${COMPAT} -DUSE_DISCORD_PRESENCE=ON -DDISPLAY_VERSION=${{ parameters['version'] }} .. && cd ..
  9. displayName: 'Configure CMake'
  10. - task: MSBuild@1
  11. displayName: 'Build'
  12. inputs:
  13. solution: 'build/yuzu.sln'
  14. maximumCpuCount: true
  15. configuration: release
  16. - task: PowerShell@2
  17. displayName: 'Package Artifacts'
  18. inputs:
  19. targetType: 'filePath'
  20. filePath: './.ci/scripts/windows/upload.ps1'
  21. arguments: '$(BuildName)'
  22. - publish: artifacts
  23. artifact: 'yuzu-$(BuildName)-windows-msvc'
  24. displayName: 'Upload Artifacts'