Streamlines packet tests (#175)

This commit is contained in:
Kamron Batman 2020-07-11 00:29:53 -07:00 committed by GitHub
parent 6a727c3401
commit 7d20cf7642
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 1782 additions and 1684 deletions

View file

@ -14,32 +14,14 @@ jobs:
vmImage: 'windows-latest'
steps:
- task: NuGetToolInstaller@1
inputs:
versionSpec: '5.x'
displayName: 'Install latest NuGet'
- task: DotNetCoreCLI@2
inputs:
command: 'custom'
custom: 'restore'
arguments: '--force-evaluate'
- task: NuGetAuthenticate@0
- script: dotnet restore --force-evaluate
displayName: 'Restore NuGet Packages'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
arguments: '-c $(buildConfiguration) --no-restore'
projects: '**/Projects/Server/Server.csproj'
- script: dotnet build -c $(buildConfiguration) --no-restore Projects/Server/Server.csproj
displayName: 'Build Server'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
arguments: '-c $(buildConfiguration) --no-restore'
projects: '**/Projects/UOContent/UOContent.csproj'
- script: dotnet build -c $(buildConfiguration) --no-restore Projects/UOContent/UOContent.csproj
displayName: 'Build UO Content'
- task: DotNetCoreCLI@2
inputs:
command: 'test'
arguments: '--no-restore'
- script: dotnet test --no-restore
displayName: 'Test'
- job: BuildLinux
@ -60,26 +42,12 @@ jobs:
container: $[ variables['containerImage'] ]
steps:
- task: DotNetCoreCLI@2
inputs:
command: 'custom'
custom: 'restore'
arguments: '--force-evaluate'
- task: NuGetAuthenticate@0
- script: dotnet restore --force-evaluate
displayName: 'Restore NuGet Packages'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
arguments: '-c $(buildConfiguration) --no-restore'
projects: '**/Projects/Server/Server.csproj'
- script: dotnet build -c $(buildConfiguration) --no-restore Projects/Server/Server.csproj
displayName: 'Build Server'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
arguments: '-c $(buildConfiguration) --no-restore'
projects: '**/Projects/UOContent/UOContent.csproj'
- script: dotnet build -c $(buildConfiguration) --no-restore Projects/UOContent/UOContent.csproj
displayName: 'Build UO Content'
- task: DotNetCoreCLI@2
inputs:
command: 'test'
arguments: '--no-restore'
- script: dotnet test --no-restore
displayName: 'Test'