2 ACE_ROOT: $(Build.SourcesDirectory)/ACE
3 TAO_ROOT: $(Build.SourcesDirectory)/TAO
4 MPC_ROOT: $(Build.SourcesDirectory)/ACE/MPC
9 displayName: Weekly Sunday
20 - job: VisualStudio2019
28 BuildConfiguration: Debug
29 vcpkgarch: x64-windows
30 vcpkglibdir: debug\lib
31 vcpkgpackages: 'openssl xerces-c[xmlch_wchar]'
32 OptionalFeatures: uses_wchar=1
35 BuildConfiguration: Debug
36 vcpkgarch: x64-windows
37 vcpkglibdir: debug\lib
38 vcpkgpackages: openssl xerces-c
41 BuildConfiguration: Release
42 vcpkgarch: x64-windows
44 vcpkgpackages: openssl xerces-c
47 BuildConfiguration: Debug
48 vcpkgarch: x86-windows
49 vcpkglibdir: debug\lib
50 vcpkgpackages: openssl xerces-c
53 BuildConfiguration: Release
54 vcpkgarch: x86-windows
56 vcpkgpackages: openssl xerces-c
58 VCPKG_ROOT: $(Build.SourcesDirectory)\vcpkg
59 XERCESC_INCDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\include
60 XERCESC_LIBDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\$(vcpkglibdir)
61 SSL_INCDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\include
62 SSL_LIBDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\$(vcpkglibdir)
65 git clone -q --depth 1 git://github.com/Microsoft/vcpkg.git $(VCPKG_ROOT)
66 $(VCPKG_ROOT)\bootstrap-vcpkg.bat
67 $(VCPKG_ROOT)\vcpkg install --recurse --triplet $(vcpkgarch) $(vcpkgpackages)
68 displayName: Install additional packages using vcpkg
70 '#include "ace/config-win32.h"' > $(ACE_ROOT)/ace/config.h
71 displayName: Create config.h file
73 echo "xerces3=1" | out-file -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
74 echo "ssl=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
75 echo "versioned_namespace=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
76 displayName: Create default.features file
78 echo $(OptionalFeatures) | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
79 displayName: Add optional features ($(OptionalFeatures))
80 condition: and(succeeded(), ne(variables['OptionalFeatures'], ''))
81 - powershell: git clone -q --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
82 displayName: git clone MPC
83 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vs2019 $(TAO_ROOT)/TAO_ACE.mwc -workers 4
84 displayName: Run script mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
85 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vs2019 $(ACE_ROOT)/tests/tests.mwc -workers 4
86 displayName: Run script mwc.pl on $(ACE_ROOT)/tests/tests.mwc
88 displayName: Build solution TAO/TAO_ACE.sln
90 solution: TAO/TAO_ACE.sln
91 platform: $(BuildPlatform)
92 configuration: $(BuildConfiguration)
95 displayName: Build solution ACE/tests/tests.sln
97 solution: ACE/tests/tests.sln
98 platform: $(BuildPlatform)
99 configuration: $(BuildConfiguration)
100 maximumCpuCount: true
102 - job: VisualStudio2017
103 timeoutInMinutes: 120
105 vmImage: vs2017-win2016
110 BuildConfiguration: Debug
111 vcpkgarch: x64-windows
112 vcpkglibdir: debug\lib
113 vcpkgpackages: 'openssl xerces-c[xmlch_wchar]'
114 OptionalFeatures: uses_wchar=1
117 BuildConfiguration: Debug
118 vcpkgarch: x64-windows
119 vcpkglibdir: debug\lib
120 vcpkgpackages: openssl xerces-c
123 BuildConfiguration: Release
124 vcpkgarch: x64-windows
126 vcpkgpackages: openssl xerces-c
128 VCPKG_ROOT: $(Build.SourcesDirectory)\vcpkg
129 XERCESC_INCDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\include
130 XERCESC_LIBDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\$(vcpkglibdir)
131 SSL_INCDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\include
132 SSL_LIBDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\$(vcpkglibdir)
135 git clone --depth 1 git://github.com/Microsoft/vcpkg.git $(VCPKG_ROOT)
136 $(VCPKG_ROOT)\bootstrap-vcpkg.bat
137 $(VCPKG_ROOT)\vcpkg install --recurse --triplet $(vcpkgarch) $(vcpkgpackages)
138 displayName: Install additional packages using vcpkg
140 '#include "ace/config-win32.h"' > $(ACE_ROOT)/ace/config.h
141 displayName: Create config.h file
143 echo "xerces3=1" | out-file -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
144 echo "ssl=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
145 echo "versioned_namespace=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
146 displayName: Create default.features file
148 echo $(OptionalFeatures) | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
149 displayName: Add optional features ($(OptionalFeatures))
150 condition: and(succeeded(), ne(variables['OptionalFeatures'], ''))
151 - powershell: git clone --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
152 displayName: git clone MPC
153 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vs2017 $(TAO_ROOT)/TAO_ACE.mwc -workers 4
154 displayName: Run script mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
155 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vs2017 $(ACE_ROOT)/tests/tests.mwc -workers 4
156 displayName: Run script mwc.pl on $(ACE_ROOT)/tests/tests.mwc
158 displayName: Build solution TAO/TAO_ACE.sln
160 solution: TAO/TAO_ACE.sln
161 platform: $(BuildPlatform)
162 configuration: $(BuildConfiguration)
163 maximumCpuCount: true
165 displayName: Build solution ACE/tests/tests.sln
167 solution: ACE/tests/tests.sln
168 platform: $(BuildPlatform)
169 configuration: $(BuildConfiguration)
170 maximumCpuCount: true
172 - job: VisualStudio2015
175 vmImage: vs2015-win2012r2
180 BuildConfiguration: Debug
181 vcpkgarch: x64-windows
182 vcpkglibdir: debug\lib
185 BuildConfiguration: Release
186 vcpkgarch: x64-windows
189 XERCESCROOT: $(Build.SourcesDirectory)\vcpkg\packages\xerces-c_$(vcpkgarch)
190 SSL_ROOT: $(Build.SourcesDirectory)\vcpkg\packages\openssl-windows_$(vcpkgarch)
191 SSL_LIBDIR: $(SSL_ROOT)\$(vcpkglibdir)
192 XERCESC_LIBDIR: $(XERCESCROOT)\$(vcpkglibdir)
193 VCPKG_ROOT: $(Build.SourcesDirectory)\vcpkg
196 git clone --depth 1 git://github.com/Microsoft/vcpkg.git $(VCPKG_ROOT)
197 $(VCPKG_ROOT)\bootstrap-vcpkg.bat
198 $(VCPKG_ROOT)\vcpkg.exe install --recurse --triplet $(vcpkgarch) openssl xerces-c
201 '#include "ace/config-win32.h"' > $(ACE_ROOT)/ace/config.h
202 displayName: Create config.h file
204 echo "xerces3=1" | out-file -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
205 echo "ssl=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
206 echo "versioned_namespace=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
207 displayName: Create default.features file
208 - powershell: git clone --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
209 displayName: git clone MPC
210 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vc14 $(TAO_ROOT)/TAO_ACE.mwc -workers 4
211 displayName: Run script mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
212 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vc14 $(ACE_ROOT)/tests/tests.mwc -workers 4
213 displayName: Run script mwc.pl on $(ACE_ROOT)/tests/tests.mwc
215 displayName: Build solution TAO\TAO_ACE.sln
217 solution: TAO\TAO_ACE.sln
218 platform: $(BuildPlatform)
219 configuration: $(BuildConfiguration)
220 maximumCpuCount: true
222 displayName: Build solution ACE\tests\tests.sln
224 solution: ACE\tests\tests.sln
225 platform: $(BuildPlatform)
226 configuration: $(BuildConfiguration)
227 maximumCpuCount: true
232 vmImage: ubuntu-latest
239 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
244 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
249 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
254 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
259 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
263 PackageDeps: clang-5.0
264 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
268 PackageDeps: clang-6.0
269 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
274 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
279 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
284 Repo: llvm-toolchain-$(lsb_release -cs)-9
285 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
288 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
289 sudo apt-add-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ $(Repo) main"
290 displayName: Add repository ($(Repo))
291 condition: and(succeeded(), ne(variables['Repo'], ''))
293 sudo apt-get --yes update
294 sudo apt-get --yes install libxerces-c-dev libssl-dev $(PackageDeps)
295 displayName: install system package dependencies
297 '#include "ace/config-linux.h"' > $(ACE_ROOT)/ace/config.h
298 displayName: Create config.h file
300 'xerces3=1' > $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features
301 'ssl=1' >> $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features
302 'versioned_namespace=1' >> $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features
303 displayName: Create default.features file
305 'c++11=1' > $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
306 'xerces3=1' >> $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
307 'ssl=1' >> $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
308 "$(platform_file)" >> $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
309 displayName: Create platform_macros file
310 - powershell: git clone --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
311 displayName: git clone MPC
312 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(TAO_ROOT)/TAO_ACE.mwc -workers 4
313 displayName: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
314 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(ACE_ROOT)/tests/tests.mwc -workers 4
315 displayName: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc
316 - bash: make -j 6 -C TAO
317 displayName: Build TAO project
318 - bash: make -j 6 -C ACE/tests
319 displayName: Build tests project
324 vmImage: macOS-latest
327 '#include "ace/config-macosx.h"' > $(ACE_ROOT)/ace/config.h
328 displayName: Create config.h file
330 'include $(ACE_ROOT)/include/makeinclude/platform_macosx.GNU' > $(ACE_ROOT)/include/makeinclude/platform_macros.GNU;
331 displayName: Create platform_macros file
332 - powershell: git clone --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
333 displayName: git clone MPC
334 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(TAO_ROOT)/TAO_ACE.mwc -workers 4
335 displayName: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
336 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(ACE_ROOT)/tests/tests.mwc -workers 4
337 displayName: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc
338 - bash: make -j 6 -C TAO
339 displayName: Build TAO project
340 - bash: make -j 6 -C ACE/tests
341 displayName: Build tests project