build-msvc.yml 890 B

1234567891011121314151617181920212223
  1. parameters:
  2. artifactSource: 'true'
  3. cache: 'false'
  4. version: ''
  5. steps:
  6. - script: mkdir build && cd build && cmake -G "Visual Studio 16 2019" -A x64 --config Release -DYUZU_USE_BUNDLED_QT=1 -DYUZU_USE_BUNDLED_SDL2=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 ..
  7. displayName: 'Configure CMake'
  8. - task: MSBuild@1
  9. displayName: 'Build'
  10. inputs:
  11. solution: 'build/yuzu.sln'
  12. maximumCpuCount: true
  13. configuration: release
  14. - task: PowerShell@2
  15. displayName: 'Package Artifacts'
  16. inputs:
  17. targetType: 'filePath'
  18. filePath: './.ci/scripts/windows/upload.ps1'
  19. arguments: '$(BuildName)'
  20. - publish: artifacts
  21. artifact: 'yuzu-$(BuildName)-windows-msvc'
  22. displayName: 'Upload Artifacts'