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-16.04
238 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
243 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
248 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
253 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
257 PackageDeps: clang-5.0
258 Repo: llvm-toolchain-$(lsb_release -cs)-5.0
259 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
263 PackageDeps: clang-6.0
264 Repo: llvm-toolchain-$(lsb_release -cs)-6.0
265 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
270 Repo: llvm-toolchain-$(lsb_release -cs)-7
271 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
276 Repo: llvm-toolchain-$(lsb_release -cs)-8
277 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
280 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
281 sudo apt-add-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ $(Repo) main"
282 displayName: Add repository ($(Repo))
283 condition: and(succeeded(), ne(variables['Repo'], ''))
285 sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
286 sudo apt-get --yes update
287 sudo apt-get --yes install libxerces-c-dev libssl-dev $(PackageDeps)
288 displayName: install system package dependencies
290 '#include "ace/config-linux.h"' > $(ACE_ROOT)/ace/config.h
291 displayName: Create config.h file
293 'xerces3=1' > $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features
294 'ssl=1' >> $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features
295 'versioned_namespace=1' >> $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features
296 displayName: Create default.features file
298 'xerces3=1' > $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
299 'ssl=1' >> $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
300 "$(platform_file)" >> $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
301 displayName: Create platform_macros file
302 - powershell: git clone --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
303 displayName: git clone MPC
304 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(TAO_ROOT)/TAO_ACE.mwc -workers 4
305 displayName: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
306 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(ACE_ROOT)/tests/tests.mwc -workers 4
307 displayName: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc
308 - bash: make -j 6 -C TAO
309 displayName: Build TAO project
310 - bash: make -j 6 -C ACE/tests
311 displayName: Build tests project
319 '#include "ace/config-macosx.h"' > $(ACE_ROOT)/ace/config.h
320 displayName: Create config.h file
322 'include $(ACE_ROOT)/include/makeinclude/platform_macosx.GNU' > $(ACE_ROOT)/include/makeinclude/platform_macros.GNU;
323 displayName: Create platform_macros file
324 - powershell: git clone --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
325 displayName: git clone MPC
326 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(TAO_ROOT)/TAO_ACE.mwc -workers 4
327 displayName: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
328 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(ACE_ROOT)/tests/tests.mwc -workers 4
329 displayName: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc
330 - bash: make -j 6 -C TAO
331 displayName: Build TAO project
332 - bash: make -j 6 -C ACE/tests
333 displayName: Build tests project