build.yml 877 B

12345678910111213141516171819202122232425262728293031323334353637
  1. name: Build
  2. on:
  3. push:
  4. branches: [master]
  5. pull_request:
  6. workflow_dispatch:
  7. jobs:
  8. release:
  9. name: Release x64
  10. # The image carries Visual Studio 2026, so the project's own v145 toolset and its
  11. # 10.0.26100.0 SDK are both present. No toolset override.
  12. runs-on: windows-2025-vs2026
  13. steps:
  14. - name: Checkout
  15. uses: actions/checkout@v4
  16. - name: Add MSBuild to PATH
  17. uses: microsoft/setup-msbuild@v2
  18. - name: Build
  19. run: >
  20. msbuild Sunrise.sln /m
  21. /p:Configuration=Release
  22. /p:Platform=x64
  23. /verbosity:minimal
  24. - name: Upload artifact
  25. uses: actions/upload-artifact@v4
  26. with:
  27. name: Sunrise-Release-x64
  28. path: |
  29. build/x64/Release/steam_api64.dll
  30. build/x64/Release/steam_api64.pdb
  31. if-no-files-found: error