-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathazure-pipelines.yml
175 lines (149 loc) · 7.42 KB
/
azure-pipelines.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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
trigger:
batch: true
branches:
include:
- main
- release/*
resources:
repositories:
- repository: niveristand-custom-device-build-tools
type: github
ref: main
endpoint: nivs-custom-devices
name: ni/niveristand-custom-device-build-tools
pipelines:
- pipeline: RoutingAndFaultingMessageLibrary
source: ni.niveristand-routing-and-faulting-message-library
trigger:
branches:
include:
- main
stages:
- template: azure-templates/stages.yml@niveristand-custom-device-build-tools
parameters:
lvVersionsToBuild:
- version: '2023'
bitness: '64bit'
- version: '2024'
bitness: '64bit'
- version: '2025'
bitness: '64bit'
dependencies:
- source: '\\nirvana\Measurements\VeriStandAddons\slsc_switch_messaging_library'
file: '$target\CDMessaging.lvlibp'
destination: 'Includes'
- source: '\\nirvana\Measurements\VeriStandAddons\slsc_switch_messaging_library'
file: '$target\SLSCSwitchMessaging.lvlibp'
destination: 'Includes'
- source: '\\nirvana\Measurements\VeriStandAddons\slsc_switch_messaging_library'
file: '$target\NISWITCHMessaging.lvlibp'
destination: 'Includes'
buildSteps:
# Routing and Faulting
- projectLocation: 'Source\Routing and Faulting\Routing and Faulting Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Configuration Release'
- projectLocation: 'Source\Routing and Faulting\Routing and Faulting Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Engine Release'
- projectLocation: 'Source\Routing and Faulting\Routing and Faulting Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'Linux x64'
buildSpec: 'Engine Release'
- projectLocation: 'Source\Routing and Faulting\Routing and Faulting Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Scripting API'
# SLSC Switch
- projectLocation: 'Source\SLSC Switch\SLSC Switch Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Configuration Release'
- projectLocation: 'Source\SLSC Switch\SLSC Switch Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Engine Release'
- projectLocation: 'Source\SLSC Switch\SLSC Switch Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'Linux x64'
buildSpec: 'Engine Release'
- projectLocation: 'Source\SLSC Switch\SLSC Switch Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Scripting API'
# NI-SWITCH
- projectLocation: 'Source\NI-SWITCH\NI-SWITCH Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Configuration Release'
- projectLocation: 'Source\NI-SWITCH\NI-SWITCH Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Engine Release'
- projectLocation: 'Source\NI-SWITCH\NI-SWITCH Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'Linux x64'
buildSpec: 'Engine Release'
- projectLocation: 'Source\NI-SWITCH\NI-SWITCH Custom Device.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Scripting API'
# Scripting Examples
- projectLocation: 'Source\SLSC Switch Scripting Examples\SLSC Switch Scripting Examples.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Examples'
- projectLocation: 'Source\NI-SWITCH Scripting Examples\NI-SWITCH Scripting Examples.lvproj'
buildOperation: 'ExecuteBuildSpec'
target: 'My Computer'
buildSpec: 'Examples'
releaseVersion: '25.0.0'
buildOutputLocation: 'Source\Built'
archiveLocation: '\\nirvana\Measurements\VeriStandAddons\routing_and_faulting_custom_device'
packages:
- controlFileName: 'control_routing_faulting'
payloadMaps:
- payloadLocation: 'Routing and Faulting'
installLocation: 'documents\National Instruments\NI VeriStand $(lvVersion)\Custom Devices\Routing and Faulting'
- payloadLocation: 'Errors\Routing and Faulting'
installLocation: 'ni-paths-NISHAREDDIR$(nipkgx64suffix)\LabVIEW Run-Time\$(lvVersion)\errors\English'
- controlFileName: 'control_routing_faulting_scripting'
payloadMaps:
- payloadLocation: 'Scripting\Routing and Faulting'
installLocation: 'ni-paths-LV$(lvVersion)DIR$(nipkgx64suffix)\vi.lib\addons\VeriStand Custom Device Scripting APIs\Routing and Faulting'
- payloadLocation: 'Errors\Routing and Faulting'
installLocation: 'ni-paths-LV$(lvVersion)DIR$(nipkgx64suffix)\resource\errors\English'
- controlFileName: 'control_slsc_switch'
payloadMaps:
- payloadLocation: 'SLSC Switch'
installLocation: 'documents\National Instruments\NI VeriStand $(lvVersion)\SLSC Plugins\Modules\SLSC Switch'
- payloadLocation: 'Errors\SLSC Switch'
installLocation: 'ni-paths-LV$(lvVersion)DIR$(nipkgx64suffix)\resource\errors\English'
- controlFileName: 'control_slsc_switch_scripting'
payloadMaps:
- payloadLocation: 'Scripting\SLSC Switch'
installLocation: 'ni-paths-LV$(lvVersion)DIR$(nipkgx64suffix)\vi.lib\addons\VeriStand Custom Device Scripting APIs\SLSC Switch'
- payloadLocation: 'Errors\SLSC Switch'
installLocation: 'ni-paths-LV$(lvVersion)DIR$(nipkgx64suffix)\resource\errors\English'
- controlFileName: 'control_ni_switch'
payloadMaps:
- payloadLocation: 'NI-SWITCH'
installLocation: 'documents\National Instruments\NI VeriStand $(lvVersion)\Custom Devices\NI-SWITCH'
- payloadLocation: 'Errors\NI-SWITCH'
installLocation: 'ni-paths-NISHAREDDIR$(nipkgx64suffix)\LabVIEW Run-Time\$(lvVersion)\errors\English'
- controlFileName: 'control_ni_switch_scripting'
payloadMaps:
- payloadLocation: 'Scripting\NI-SWITCH'
installLocation: 'ni-paths-LV$(lvVersion)DIR$(nipkgx64suffix)\vi.lib\addons\VeriStand Custom Device Scripting APIs\NI-SWITCH'
- payloadLocation: 'Errors\NI-SWITCH'
installLocation: 'ni-paths-LV$(lvVersion)DIR$(nipkgx64suffix)\resource\errors\English'
- controlFileName: 'control_slsc_switch_examples'
payloadMaps:
- payloadLocation: 'SLSC Switch Scripting Examples'
installLocation: 'ni-paths-LV$(lvVersion)DIR$(nipkgx64suffix)\examples\NI VeriStand Custom Devices\SLSC Switch'
- controlFileName: 'control_ni_switch_examples'
payloadMaps:
- payloadLocation: 'NI-SWITCH Scripting Examples'
installLocation: 'ni-paths-LV$(lvVersion)DIR$(nipkgx64suffix)\examples\NI VeriStand Custom Devices\NI-SWITCH'