ModernUO/azure-pipelines.yml
Kamron Batman a7edba3712
fix: Removes scoped for gump AppendTo (#1405)
### Summary
.NET 6 had a bug that required the `scoped` keyword for the gump AppendTo. It looks like this was fixed since then.
2023-05-21 00:46:25 -07:00

28 lines
598 B
YAML

name: 'Build'
trigger:
- main
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
jobs:
- job: BuildWindows
displayName: 'Windows Server 2022'
pool:
vmImage: 'windows-latest'
steps:
- task: UseDotNet@2
displayName: 'Install .NET 7'
inputs:
packageType: sdk
version: 7.0.302
- task: NuGetAuthenticate@1
- script: ./publish.cmd Release
displayName: 'Build'
- script: git diff --exit-code ./**/Migrations/*.v*.json
displayName: Migration Changes
- script: dotnet test --no-restore
displayName: 'Test'