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 "openssl11=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
76 echo "versioned_namespace=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
77 displayName: Create default.features file
79 echo $(OptionalFeatures) | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
80 displayName: Add optional features ($(OptionalFeatures))
81 condition: and(succeeded(), ne(variables['OptionalFeatures'], ''))
82 - powershell: git clone -q --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
83 displayName: git clone MPC
84 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vs2019 $(TAO_ROOT)/TAO_ACE.mwc -workers 4
85 displayName: Run script mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
86 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vs2019 $(ACE_ROOT)/tests/tests.mwc -workers 4
87 displayName: Run script mwc.pl on $(ACE_ROOT)/tests/tests.mwc
89 displayName: Build solution TAO/TAO_ACE.sln
91 solution: TAO/TAO_ACE.sln
92 platform: $(BuildPlatform)
93 configuration: $(BuildConfiguration)
96 displayName: Build solution ACE/tests/tests.sln
98 solution: ACE/tests/tests.sln
99 platform: $(BuildPlatform)
100 configuration: $(BuildConfiguration)
101 maximumCpuCount: true
103 - job: VisualStudio2017
104 timeoutInMinutes: 120
106 vmImage: vs2017-win2016
111 BuildConfiguration: Debug
112 vcpkgarch: x64-windows
113 vcpkglibdir: debug\lib
114 vcpkgpackages: 'openssl xerces-c[xmlch_wchar]'
115 OptionalFeatures: uses_wchar=1
118 BuildConfiguration: Debug
119 vcpkgarch: x64-windows
120 vcpkglibdir: debug\lib
121 vcpkgpackages: openssl xerces-c
124 BuildConfiguration: Release
125 vcpkgarch: x64-windows
127 vcpkgpackages: openssl xerces-c
129 VCPKG_ROOT: $(Build.SourcesDirectory)\vcpkg
130 XERCESC_INCDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\include
131 XERCESC_LIBDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\$(vcpkglibdir)
132 SSL_INCDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\include
133 SSL_LIBDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\$(vcpkglibdir)
136 git clone --depth 1 git://github.com/Microsoft/vcpkg.git $(VCPKG_ROOT)
137 $(VCPKG_ROOT)\bootstrap-vcpkg.bat
138 $(VCPKG_ROOT)\vcpkg install --recurse --triplet $(vcpkgarch) $(vcpkgpackages)
139 displayName: Install additional packages using vcpkg
141 '#include "ace/config-win32.h"' > $(ACE_ROOT)/ace/config.h
142 displayName: Create config.h file
144 echo "xerces3=1" | out-file -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
145 echo "ssl=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
146 echo "openssl11=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
147 echo "versioned_namespace=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
148 displayName: Create default.features file
150 echo $(OptionalFeatures) | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
151 displayName: Add optional features ($(OptionalFeatures))
152 condition: and(succeeded(), ne(variables['OptionalFeatures'], ''))
153 - powershell: git clone --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
154 displayName: git clone MPC
155 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vs2017 $(TAO_ROOT)/TAO_ACE.mwc -workers 4
156 displayName: Run script mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
157 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vs2017 $(ACE_ROOT)/tests/tests.mwc -workers 4
158 displayName: Run script mwc.pl on $(ACE_ROOT)/tests/tests.mwc
160 displayName: Build solution TAO/TAO_ACE.sln
162 solution: TAO/TAO_ACE.sln
163 platform: $(BuildPlatform)
164 configuration: $(BuildConfiguration)
165 maximumCpuCount: true
167 displayName: Build solution ACE/tests/tests.sln
169 solution: ACE/tests/tests.sln
170 platform: $(BuildPlatform)
171 configuration: $(BuildConfiguration)
172 maximumCpuCount: true
177 vmImage: ubuntu-18.04
184 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
189 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
194 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
199 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
204 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
208 PackageDeps: clang-5.0
209 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
213 PackageDeps: clang-6.0
214 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
219 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
224 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
229 Repo: llvm-toolchain-$(lsb_release -cs)-9
230 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
234 PackageDeps: clang-10
235 Repo: llvm-toolchain-$(lsb_release -cs)-10
236 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU
239 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
240 sudo apt-add-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ $(Repo) main"
241 displayName: Add repository ($(Repo))
242 condition: and(succeeded(), ne(variables['Repo'], ''))
244 sudo apt-get --yes update
245 sudo apt-get --yes install libxerces-c-dev libssl-dev $(PackageDeps)
246 displayName: install system package dependencies
248 '#include "ace/config-linux.h"' > $(ACE_ROOT)/ace/config.h
249 displayName: Create config.h file
251 'xerces3=1' > $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features
252 'ssl=1' >> $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features
253 'versioned_namespace=1' >> $(ACE_ROOT)/bin/MakeProjectCreator/config/default.features
254 displayName: Create default.features file
256 'c++11=1' > $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
257 'xerces3=1' >> $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
258 'ssl=1' >> $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
259 "$(platform_file)" >> $(ACE_ROOT)/include/makeinclude/platform_macros.GNU
260 displayName: Create platform_macros file
261 - powershell: git clone --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
262 displayName: git clone MPC
263 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(TAO_ROOT)/TAO_ACE.mwc -workers 4
264 displayName: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
265 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(ACE_ROOT)/tests/tests.mwc -workers 4
266 displayName: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc
267 - bash: make -j 6 -C TAO
268 displayName: Build TAO project
269 - bash: make -j 6 -C ACE/tests
270 displayName: Build tests project
275 vmImage: macOS-latest
278 '#include "ace/config-macosx.h"' > $(ACE_ROOT)/ace/config.h
279 displayName: Create config.h file
281 'include $(ACE_ROOT)/include/makeinclude/platform_macosx.GNU' > $(ACE_ROOT)/include/makeinclude/platform_macros.GNU;
282 displayName: Create platform_macros file
283 - powershell: git clone --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
284 displayName: git clone MPC
285 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(TAO_ROOT)/TAO_ACE.mwc -workers 4
286 displayName: Run mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
287 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type gnuace $(ACE_ROOT)/tests/tests.mwc -workers 4
288 displayName: Run mwc.pl on $(ACE_ROOT)/tests/tests.mwc
289 - bash: make -j 6 -C TAO
290 displayName: Build TAO project
291 - bash: make -j 6 -C ACE/tests
292 displayName: Build tests project