@@ -30,7 +30,8 @@ stages:
3030 - template : .azure/default-build.yml
3131 parameters :
3232 agentOs : Windows
33- jobName : Windows_Build_Test
33+ jobName : Windows_Build_Test_With_CppRestSDK
34+ useCppRestSDK : true
3435 cMakeRunArgs : ' -A x64'
3536 beforeBuild :
3637 # check if vcpkg exists on the machine before trying to build it
@@ -57,12 +58,15 @@ stages:
5758 - template : .azure/default-build.yml
5859 parameters :
5960 agentOs : macOs
60- jobName : Mac_Build_Test
61+ jobName : Mac_Build_Test_With_CppRestSDK
62+ useCppRestSDK : true
6163 beforeBuild :
6264 # XCode 11 doesn't play nicely with gcc, workaround by using XCode 10. We can try updating to a newer XCode in the future
6365 # Once the problem has been resolved
6466 - script : sudo xcode-select --switch /Applications/Xcode_10.3.app
67+ displayName : xcode-select
6568 - script : brew install gcc
69+ displayName : Install gcc
6670 - bash : " ./submodules/vcpkg/bootstrap-vcpkg.sh"
6771 condition : ne(variables.CACHE_RESTORED, 'true')
6872 displayName : Bootstrap vcpkg
@@ -73,17 +77,47 @@ stages:
7377 - template : .azure/default-build.yml
7478 parameters :
7579 agentOs : Linux
76- jobName : Linux_Build_Test
80+ jobName : Linux_Build_Test_With_CppRestSDK
81+ useCppRestSDK : true
7782 beforeBuild :
7883 - script : sudo vcpkg install cpprestsdk boost-system boost-chrono boost-thread --vcpkg-root ./submodules/vcpkg
7984 condition : ne(variables.CACHE_RESTORED, 'true')
8085 displayName : vcpkg install dependencies
8186
87+ - template : .azure/default-build.yml
88+ parameters :
89+ agentOs : Linux
90+ jobName : Linux_Build_Test
91+ useCppRestSDK : false
92+
93+ - template : .azure/default-build.yml
94+ parameters :
95+ agentOs : Windows
96+ jobName : Windows_Build_Test
97+ useCppRestSDK : false
98+ cMakeRunArgs : ' -A x64'
99+
100+ - template : .azure/default-build.yml
101+ parameters :
102+ agentOs : macOs
103+ jobName : Mac_Build_Test
104+ useCppRestSDK : false
105+ beforeBuild :
106+ # XCode 11 doesn't play nicely with gcc, workaround by using XCode 10. We can try updating to a newer XCode in the future
107+ # Once the problem has been resolved
108+ - script : sudo xcode-select --switch /Applications/Xcode_10.3.app
109+ displayName : xcode-select
110+ - script : brew install gcc
111+ displayName : Install gcc
112+
82113 # Publish to the BAR
83114 - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
84115 - template : /eng/common/templates/job/publish-build-assets.yml
85116 parameters :
86117 dependsOn :
118+ - Windows_Build_Test_With_CppRestSDK
119+ - Mac_Build_Test_With_CppRestSDK
120+ - Linux_Build_Test_With_CppRestSDK
87121 - Windows_Build_Test
88122 - Mac_Build_Test
89123 - Linux_Build_Test
0 commit comments