forked from WalletWasabi/WalletWasabi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-windows.yml
38 lines (36 loc) · 973 Bytes
/
azure-pipelines-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
trigger:
batch: true
variables:
testConfiguration: 'Debug'
jobs:
- job: Windows
pool:
vmImage: 'windows-2019'
steps:
- task: UseDotNet@2
displayName: 'Install .NET'
inputs:
version: 8.0.x
- task: DotNetCoreCLI@2
displayName: 'Restore'
inputs:
command: 'restore'
restoreArguments: '--force --locked-mode'
feedsToUse: 'config'
nugetConfigPath: 'NuGet.Config'
- task: DotNetCoreCLI@2
displayName: 'Build Debug'
inputs:
command: build
arguments: --no-restore --configuration Debug
- task: DotNetCoreCLI@2
displayName: 'Build Release'
inputs:
command: build
arguments: --no-restore --configuration Release
- task: DotNetCoreCLI@2
displayName: 'Test Debug'
inputs:
command: test
projects: 'WalletWasabi.Tests/WalletWasabi.Tests.csproj'
arguments: --configuration $(testConfiguration) --filter "UnitTests" --logger "console;verbosity=detailed"