forked from WalletWasabi/WalletWasabi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-linux.yml
39 lines (37 loc) · 1.01 KB
/
azure-pipelines-linux.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
39
trigger:
batch: true
variables:
testConfiguration: 'Debug'
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-20.04'
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" --collect:"XPlat Code Coverage"
publishTestResults: true