-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
59 lines (49 loc) · 1.38 KB
/
Copy pathazure-pipelines.yml
File metadata and controls
59 lines (49 loc) · 1.38 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
trigger:
batch: true
pool:
vmImage: windows-latest
variables:
solution: QueryHardwareSecurity.slnx
configuration: Release
projectDotnet: src/QueryHardwareSecurity/QueryHardwareSecurity.csproj
projectNative: src/QueryHardwareSecurityLib/QueryHardwareSecurityLib.vcxproj
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
command: restore
restoreSolution: $(solution)
feedsToUse: select
- task: VSBuild@1
inputs:
solution: $(projectNative)
platform: x64
configuration: $(configuration)
maximumCpuCount: true
- task: VSBuild@1
inputs:
solution: $(projectNative)
platform: ARM64
configuration: $(configuration)
maximumCpuCount: true
- task: VSBuild@1
inputs:
solution: $(projectDotnet)
platform: AnyCPU
configuration: $(configuration)
maximumCpuCount: true
- task: PublishPipelineArtifact@1
inputs:
targetPath: bin/$(configuration)/net462
artifact: QueryHardwareSecurity-$(build.SourceVersion)-net462
publishLocation: pipeline
- task: PublishPipelineArtifact@1
inputs:
targetPath: bin/$(configuration)/net472
artifact: QueryHardwareSecurity-$(build.SourceVersion)-net472
publishLocation: pipeline
- task: PublishPipelineArtifact@1
inputs:
targetPath: bin/$(configuration)/net8.0
artifact: QueryHardwareSecurity-$(build.SourceVersion)-net80
publishLocation: pipeline