Skip to content

Commit d168021

Browse files
committed
Update the Azure Pipeline to handle the native library
1 parent 06a767c commit d168021

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

azure-pipelines.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ pool:
55
vmImage: windows-latest
66

77
variables:
8-
solution: QueryHardwareSecurity.slnx
9-
platform: Any CPU
108
configuration: Release
9+
projectDotnet: src/QueryHardwareSecurity/QueryHardwareSecurity.csproj
10+
projectNative: src/QueryHardwareSecurityLib/QueryHardwareSecurityLib.vcxproj
1111

1212
steps:
1313
- task: NuGetToolInstaller@1
@@ -20,8 +20,22 @@ steps:
2020

2121
- task: VSBuild@1
2222
inputs:
23-
solution: $(solution)
24-
platform: $(platform)
23+
solution: $(projectNative)
24+
platform: x64
25+
configuration: $(configuration)
26+
maximumCpuCount: true
27+
28+
- task: VSBuild@1
29+
inputs:
30+
solution: $(projectNative)
31+
platform: ARM64
32+
configuration: $(configuration)
33+
maximumCpuCount: true
34+
35+
- task: VSBuild@1
36+
inputs:
37+
solution: $(projectDotnet)
38+
platform: Any CPU
2539
configuration: $(configuration)
2640
maximumCpuCount: true
2741

0 commit comments

Comments
 (0)