2 ACE_ROOT: $(Build.SourcesDirectory)/ACE
3 TAO_ROOT: $(Build.SourcesDirectory)/TAO
4 MPC_ROOT: $(Build.SourcesDirectory)/ACE/MPC
9 displayName: Weekly Sunday
28 BuildConfiguration: Debug
29 vcpkgarch: x64-windows
30 vcpkglibdir: debug\lib
31 vcpkgpackages: 'openssl xerces-c[xmlch-wchar]'
32 OptionalFeatures: uses_wchar=1
37 BuildConfiguration: Debug
38 vcpkgarch: x64-windows
39 vcpkglibdir: debug\lib
40 vcpkgpackages: openssl xerces-c
45 BuildConfiguration: Release
46 vcpkgarch: x64-windows
48 vcpkgpackages: openssl xerces-c
53 BuildConfiguration: Debug
54 vcpkgarch: x86-windows
55 vcpkglibdir: debug\lib
56 vcpkgpackages: openssl xerces-c
61 BuildConfiguration: Release
62 vcpkgarch: x86-windows
64 vcpkgpackages: openssl xerces-c
66 vmimage: vs2017-win2016
69 BuildConfiguration: Debug
70 vcpkgarch: x64-windows
71 vcpkglibdir: debug\lib
72 vcpkgpackages: 'openssl xerces-c[xmlch-wchar]'
73 OptionalFeatures: uses_wchar=1
75 vmimage: vs2017-win2016
78 BuildConfiguration: Debug
79 vcpkgarch: x64-windows
80 vcpkglibdir: debug\lib
81 vcpkgpackages: openssl xerces-c
83 vmimage: vs2017-win2016
86 BuildConfiguration: Release
87 vcpkgarch: x64-windows
89 vcpkgpackages: openssl xerces-c
93 VCPKG_ROOT: $(Build.SourcesDirectory)\vcpkg
94 XERCESC_INCDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\include
95 XERCESC_LIBDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\$(vcpkglibdir)
96 SSL_INCDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\include
97 SSL_LIBDIR: $(VCPKG_ROOT)\installed\$(vcpkgarch)\$(vcpkglibdir)
100 git clone -q --depth 1 git://github.com/Microsoft/vcpkg.git $(VCPKG_ROOT)
101 $(VCPKG_ROOT)\bootstrap-vcpkg.bat
102 $(VCPKG_ROOT)\vcpkg install --recurse --triplet $(vcpkgarch) $(vcpkgpackages)
103 displayName: Install additional packages using vcpkg
105 '#include "ace/config-win32.h"' > $(ACE_ROOT)/ace/config.h
106 displayName: Create config.h file
108 echo "ipv6=1" | out-file -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
109 echo "xerces3=1" | out-file -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
110 echo "ssl=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
111 echo "openssl11=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
112 echo "versioned_namespace=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
113 displayName: Create default.features file
115 echo $(OptionalFeatures) | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
116 displayName: Add optional features ($(OptionalFeatures))
117 condition: and(succeeded(), ne(variables['OptionalFeatures'], ''))
118 - powershell: git clone -q --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT)
119 displayName: git clone MPC
120 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type $(mpctype) $(TAO_ROOT)/TAO_ACE.mwc -workers 4
121 displayName: Run script mwc.pl on $(TAO_ROOT)/TAO_ACE.mwc
122 - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type $(mpctype) $(ACE_ROOT)/tests/tests.mwc -workers 4
123 displayName: Run script mwc.pl on $(ACE_ROOT)/tests/tests.mwc
125 displayName: Build solution TAO/TAO_ACE.sln
127 solution: TAO/TAO_ACE.sln
128 platform: $(BuildPlatform)
129 configuration: $(BuildConfiguration)
130 maximumCpuCount: true
132 displayName: Build solution ACE/tests/tests.sln
134 solution: ACE/tests/tests.sln
135 platform: $(BuildPlatform)
136 configuration: $(BuildConfiguration)
137 maximumCpuCount: true