-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
70 lines (67 loc) · 1.82 KB
/
azure-pipelines.yml
File metadata and controls
70 lines (67 loc) · 1.82 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
trigger:
- main
jobs:
- job: Build_SDK
displayName: Build SDK
pool:
vmImage: ubuntu-latest
variables:
BuildConfiguration: 'Release'
BuildPlatform: 'any cpu'
steps:
- script: |
sudo apt-get update
sudo apt-get install -y libssl1.1 libssl-dev
displayName: 'Install libssl dependencies'
- task: NuGetToolInstaller@1
displayName: Install NuGet 6.x
inputs:
versionSpec: '6.x'
checkLatest: true
- task: UseDotNet@2
displayName: Use .NET 6.0.x
inputs:
packageType: 'sdk'
version: '6.0.x'
- task: DotNetCoreCLI@2
displayName: Restore Solution
inputs:
command: 'restore'
projects: 'src/sdk/Microsoft.UnifiedRedisPlatform.SDK.sln'
- task: DotNetCoreCLI@2
displayName: Build Library Projects
inputs:
command: 'build'
projects: 'src/sdk/**/*.csproj'
- job: Build_Service
displayName: Build Service
pool:
vmImage: ubuntu-latest
variables:
BuildConfiguration: 'Release'
BuildPlatform: 'any cpu'
steps:
- script: |
sudo apt-get update
sudo apt-get install -y libssl1.1 libssl-dev
displayName: 'Install libssl dependencies'
- task: NuGetToolInstaller@1
displayName: Install NuGet 6.x
inputs:
versionSpec: '6.x'
checkLatest: true
- task: UseDotNet@2
displayName: Use .NET 6.0.x
inputs:
packageType: 'sdk'
version: '6.0.x'
- task: DotNetCoreCLI@2
displayName: Restore Solution
inputs:
command: 'restore'
projects: 'src/service/Microsoft.UnifiedRedisPlatform.Service/Microsoft.UnifiedRedisPlatform.Service.sln'
- task: DotNetCoreCLI@2
displayName: Build Library Projects
inputs:
command: 'build'
projects: 'src/service/**/*.csproj'