forked from flowns/Laerdal.Dfu.Bindings.iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yaml
44 lines (37 loc) · 1023 Bytes
/
azure-pipelines.yaml
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
trigger:
batch: true
branches:
include:
- '*'
pool:
vmImage: macOS-12
steps:
- checkout: self
clean: true
persistCredentials: true
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
inputs:
checkLatest: true
- task: DotNetCoreCLI@2
displayName: dotnet workload install
inputs:
command: custom
custom: 'workload'
arguments: 'install maui ios android'
- task: DotNetCoreCLI@2
displayName: dotnet build
inputs:
projects: $(Build.SourcesDirectory)/Laerdal.Build.proj
configuration: Release
arguments: '--verbosity detailed'
- publish: $(Build.ArtifactStagingDirectory)
artifact: output
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.SourcesDirectory)'
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/sources/$(Build.BuildId).zip'
- publish: '$(Build.ArtifactStagingDirectory)/sources/$(Build.BuildId).zip'
artifact: source